eslint-plugin-typocheck
v1.0.0
Published
ESLint plugin to check common misspelling in Chinese
Downloads
8
Maintainers
Readme
eslint-plugin-typocheck
ESLint plugin to check common misspelling in Chinese
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-typocheck
:
npm install eslint-plugin-typocheck --save-dev
Usage
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