1.1.0 • Published 1 year ago

textlint-rule-ja-hiragana-hojodoushi v1.1.0

Weekly downloads
654
License
MIT
Repository
github
Last release
1 year ago

textlint-rule-ja-hiragana-hojodoushi

Check easy-to-read Hojodoushi(auxiliary verbs) written in Hiragana than Kanji.

漢字よりもひらがなで表記したほうが読みやすい補助動詞を指摘します。検出には形態素解析を使っています。自動修正にも対応しています。

Install

Install with npm:

npm install textlint-rule-ja-hiragana-hojodoushi

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "ja-hiragana-hojodoushi": true
    }
}

Or you can specify custom dictionary as follows:

{
    "rules": {
        "ja-hiragana-hojodoushi": {
          "rulePath": "path/to/custom.yml"
        }
    }
}

Via CLI

textlint --rule ja-hiragana-hojodoushi README.md

Fixable

textlint --fix ja-hiragana-hojodoushi README.md

Build

Builds source codes for publish to the lib folder. You can write ES2015+ source codes in src/ folder.

npm run build

Tests

Run test code in test folder. Test textlint rule by textlint-tester.

npm test

List

fromto
〜して頂く〜していただく
〜して下さい〜してください
〜して行く〜していく
〜して来る〜してくる
〜致します〜いたします
〜し出す〜しだす

License

MIT © Hiroshi Takase