1.0.0 • Published 4 years ago

eslint-plugin-typocheck v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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