textlint-rule-terminology

textlint rule to check and fix correct terms spelling.
Installation
npm install textlint-rule-terminology
Usage
textlint --fix --rule terminology Readme.md
Configuration
By default the rule will check against my personal terminology. You can change it in your .textlintrc
:
{
"rules": {
"defaultTerms": true,
"terminology": {
"terms": [
"JavaScript",
"ESLint",
"Sass",
"Less",
"npm",
["front[- ]end(\\w*)", "frontend$1"],
["back[- ]end(\\w*)", "backend$1"],
["web[- ]?site(s?)", "site$1"],
["hot[- ]key", "hotkey"],
["repo\\b", "repository"],
["CLI tool(s?)", "command line tool$1"],
["build system(s?)", "build tool$1"],
["id['’]?s", "IDs"],
["(\\w+[^.?!]\\)? )webpack", "$1webpack"],
["(\\w+[^.?!]\\)? )internet", "$internet"]
],
"terms": "~/terms.json",
"terms": "@johnsmith/terms"
}
"skip": ["Blockquote"]
}
}
Read more about configuring textlint.
Changelog
The changelog can be found on the Releases page.
Contributing
Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.
Authors and license
Artem Sapegin and contributors.
MIT License, see the included License.md file.