よくある誤用をチェックするtextlintルール
- 「適応」と「適用」
- 「値を返却する」の誤用
- 「可変する」の誤用
- 「例外を補足する」の誤用
など。詳細は辞書の定義を参照
Install with npm:
npm install textlint-rule-ja-no-abusage
Via .textlintrc(Recommended)
{
    "rules": {
        "ja-no-abusage": true
    }
}Via CLI
textlint --rule ja-no-abusage README.md
2種類の辞書ベースを持っています。
- 形態素解析結果をベースにしたmorpheme-match
- 誤爆しそうなものなど品詞レベルで限定したいものはこちら
 
- 正規表現をベースにしたtextlint-rule-prh
- 単純なマッチで問題ないものはこちら
 
の2種類を使い分けています。
See Releases page.
Install devDependencies and Run npm test:
npm i -d && npm test
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D
MIT © azu