Prohibit words, sentences in code & comments.
Install ESLint either locally or globally.
npm install --save-dev eslint
npm install --save-dev eslint-plugin-sentences
{
"plugins": [
"sentences"
],
"rules": {
"sentences/no-sentences": [`error`, [
{ sentence: 'prohibit sentence', message: 'custom message to show' }
]]
}
}