1.0.0 • Published 5 years ago
textlint-rule-ja-hiragana-daimeishi v1.0.0
textlint-rule-ja-hiragana-daimeishi
Check easy-to-read Daimeishi(pronouns) written in Hiragana than Kanji.
漢字よりもひらがなで表記したほうが読みやすい代名詞・形式名詞を指摘します。検出には形態素解析を使っています。自動修正にも対応しています。
Install
Install with npm:
npm install textlint-rule-ja-hiragana-daimeishiUsage
Via .textlintrc(Recommended)
{
"rules": {
"ja-hiragana-daimeishi": true
}
}Via CLI
textlint --rule ja-hiragana-daimeishi README.mdFixable
textlint --fix ja-hiragana-daimeishi README.mdBuild
Builds source codes for publish to the lib folder.
You can write ES2015+ source codes in src/ folder.
npm run buildTests
Run test code in test folder.
Test textlint rule by textlint-tester.
npm testList
| From | To |
|---|---|
| 彼処 | あそこ |
| 何処 | どこ |
| 何処 | いずこ |
| 貴方 | あなた |
| 何時 | いつ |
| 之 | これ |
| 何れ | いずれ |
License
MIT © Hiroshi Takase
1.0.0
5 years ago