Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 451 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 451 Bytes

eslint-plugin-sentences

Prohibit words, sentences in code & comments.

Installation

Install ESLint either locally or globally.

npm install --save-dev eslint
npm install --save-dev eslint-plugin-sentences

Configuration via .eslintrc

{
    "plugins": [
        "sentences"
    ],
    "rules": {
        "sentences/no-sentences": [`error`, ['prohibit sentence']]
    }
}