0.4.1 • Published 2 years ago

eslint-plugin-consistent-words v0.4.1

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

eslint-plugin-consistent-words

Enforce consistency capitalization and spelling of significant words.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-consistent-words:

npm install eslint-plugin-consistent-words --save-dev

Usage

Add consistent-words to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "consistent-words"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "consistent-words/consistent-capitalization": ["error", { "listOfStringsToEnforce": ["SalesForce"] } ]
    }
}

Rules

Name                     Description
consistent-capitalizationThis rule requires words/phrases to have the same capitalization.
0.4.1

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.0

2 years ago