textlint rule that check spell using HugoGiraudel/SJSJ(Simplified JavaScript Jargon).
npm install textlint-rule-sjsj
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
}
}
}
./tools/fetch-sjsj.js
# update dict/jargons.json
npm test
- 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