Skip to content

textlint rule that check spell using SJSJ(Simplified JavaScript Jargon). joke rule

License

Notifications You must be signed in to change notification settings

azu/textlint-rule-sjsj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

textlint rule that check spell using SJSJ(Simplified JavaScript Jargon). joke rule

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published