@falcon0387/textlint-config
v0.1.4
Published
Textlint config for Japanese writing
Readme
@falcon0387/textlint-config
Textlint config for Japanese writing.
Install
bun add -D @falcon0387/textlint-configUsage
Create .textlintrc.js in your project root:
module.exports = require("@falcon0387/textlint-config").default;You can override individual rules by spreading the base config. For example, to enable prh with a project-local .prh.yml:
const baseConfig = require("@falcon0387/textlint-config").default;
module.exports = {
...baseConfig,
rules: {
...baseConfig.rules,
prh: {
rulePaths: [".prh.yml"],
},
},
};Rules
| Rule | Status | Peer Dep | | --- | --- | --- | | preset-ja-technical-writing | Partially enabled | Required | | preset-ja-spacing | Enabled | Required | | preset-jtf-style | Partially enabled | Required | | @proofdict/proofdict | Enabled | Required | | @textlint-ja/preset-ai-writing | Partially enabled | Required | | @falcon0387/sentence-length | Enabled | Required | | @falcon0387/japanese-parentheses | Enabled | Required | | @falcon0387/no-mixed-japanese-punctuation | Enabled | Required | | prh | Disabled by default | Optional | | doubled-spaces | Disabled by default | Optional |
Release
Automated via release-please.
Merge the auto-generated Release PR to bump version, update CHANGELOG.md, and create a tag.
