1.0.0 • Published 4 years ago
textlint-rule-no-difficult-words v1.0.0
textlint-rule-no-difficult-words
A textlint rule to disallow difficult words.
$ textlint privacy-policy.txt
/home/hata6502/privacy-policy.txt
194:36 warning Difficult word: identifiable no-difficult-words
508:48 warning Difficult word: investigatory no-difficult-wordsUse cases
- Find difficult words in your privacy policy and disclaimer documentation.
- This helps lawyers create readable documents.
- Develop your web application in English, but use readable words to make it easier for users in other regions.
Install
Install with npm:
npm install textlint-rule-no-difficult-wordsUsage
Via .textlintrc
{
"rules": {
"no-difficult-words": {
"severity": "warning"
}
}
}Build
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 testLicense
MIT © Tomoyuki Hata
1.0.0
4 years ago