This directory contains the local textlint-rule-ja-ten-maru package.
A textlint rule that normalizes misused Japanese
punctuation to the canonical ideographic forms: ,/、 → 、 (U+3001) and
./。 → 。 (U+3002). It is auto-fixable (--fix) and exposes ten /
maru options to toggle comma / full-stop normalization independently. See
README.md for the full conversion table and usage.
src/index.ts: Entry point. Default-exports aTextlintRuleModulewhoselinterandfixershare one reporter. Make code changes here.src/index.test.ts:textlint-tester+ Vitest cases (valid/invalid fixtures).lib/: Build output. Do not edit this directory directly unless explicitly asked.
- This package uses Vitest for tests.
- For package-local changes, verify with
pnpm testwhen test execution is needed.
- Rely on Oxlint's type-aware checks because
typeCheckis enabled in.oxlintrc.json. - Use
pnpm lintfor standalone type checking. Do NOT runtsc --noEmitas a separate type-check command.