よくある誤用をチェックするtextlintルール
npm install textlint-rule-ja-no-abusageよくある誤用をチェックするtextlintルール
- 「適応」と「適用」
- 適用 vs 適応 - Qiita
- 設定は「適用」するものです。 - Qiita
- 「値を返却する」の誤用
- 「値を返却する」って言うな - Qiita
- 「可変する」の誤用
- 「可変する」という言葉
- 「例外を補足する」の誤用
- 「例外を補足する」
など。詳細は辞書の定義を参照
- dict/prh.yml
- src/dictionary.ts
Install with npm:
npm install textlint-rule-ja-no-abusage
Via .textlintrc(Recommended)
``json`
{
"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.
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
MIT © azu