1.0.0 • Published 4 years ago
eslint-plugin-typocheck v1.0.0
eslint-plugin-typocheck
ESLint plugin to check common misspelling in Chinese
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-typocheck:
npm install eslint-plugin-typocheck --save-devUsage
Add typocheck to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"typocheck"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"typocheck/no-common-misspellings": 2
}
}Supported Rules
- no-common-misspellings