eslint-plugin-spellingbee
v1.0.0
Published
ESLint plugin to prevent common typos.
Downloads
3
Maintainers
Readme
eslint-plugin-spellingbee
Catches common misspellings that can result result in nasty bugs.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-spellingbee
:
$ npm install eslint-plugin-spellingbee --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-spellingbee
globally.
Usage
Add spellingbee
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["spellingbee"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"spellingbee/no-misspelled-length": 2
}
}