vazco/ESLint Plugin Vazco
An ESLint plugin.
Table of Contents
npm i -S eslint-plugin-vazco
no-console - This rule warns when it sees console
. You can specify variants, like console.warn
are not allowed.
Add plugins
section and specify eslint-plugin-no-console-log as a plugin.
{
"plugins": [
"vazco"
]
}
Then, enable the rule.
{
"rules": {
"vazco/no-console": [1, {"disallow": ["info", "time", "timeEnd"]}]
}
}
Like every package maintained by Vazco, ESLint Plugin Vazco is MIT licensed.