Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

textlint-rule-sjsj

azu23MIT1.0.5

texlint rule check spell of Simplified JavaScript Jargon

textlint, JavaScript, jargon

readme

textlint-rule-sjsj Build Status

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT