1.0.0 • Published 2 years ago

eslint-plugin-sentence-case-exclude v1.0.0

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

eslint-plugin-sentence-case-exclude

npm version

Enforce that string literals are in sentence case, allowing for exclusions.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-sentence-case-exclude:

npm install eslint-plugin-sentence-case-exclude --save-dev

Usage

Add sentence-case-exclude to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "sentence-case-exclude"
    ]
}

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

{
    "rules": {
        "sentence-case-exclude/rule-name": 2
    }
}

Rules

Name         Description
sentence-caseEnforce that string literals are in sentence case, allowing for exclusions
1.0.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago