eslint-plugin-sentence-case-exclude

1.0.0 • Public • Published

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-case Enforce that string literals are in sentence case, allowing for exclusions

Package Sidebar

Install

npm i eslint-plugin-sentence-case-exclude

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

7.38 kB

Total Files

6

Last publish

Collaborators

  • jordanjanzen