Skip to content

VasekProchazka/eslint-plugin-sentences

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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`, [
            { sentence: 'prohibit sentence', message: 'custom message to show' }
        ]]
    }
}

About

eslint plugin to warn prohibit sentences in code

Resources

Stars

Watchers

Forks

Packages

No packages published