textlint-rule-sjsj
v1.0.5
Published
texlint rule check spell of Simplified JavaScript Jargon
Downloads
26
Readme
textlint-rule-sjsj
textlint rule that check spell using HugoGiraudel/SJSJ(Simplified JavaScript Jargon).
Installation
npm install textlint-rule-sjsj
Usage
Via CLI
npm install textlint textlint-rule-sjsj -g
textlint --rule textlint-rule-sjsj README.md
Via .textlintrc
{
"rules": {
"sjsj": {
// spelling errors are an edit distance of 1 from the target.
"distance": 1
}
}
}
Update jargons
./tools/fetch-sjsj.js
# update dict/jargons.json
Tests
npm test
Contributing
- 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
License
MIT