eslint-plugin-vazco
v1.0.0
Published
Downloads
535
Keywords
Readme
eslint-plugin-vazco-no-console
An eslint plugin to warn on usage of console
.
Table of Contents
Install
npm i -S eslint-plugin-vazco-no-console
Configuration
Add plugins
section and specify eslint-plugin-no-console-log as a plugin.
{
"plugins": [
"vazco-no-console"
]
}
Then, enable the rule.
{
"rules": {
"vazco-no-console/no-console": [1, {}]
}
}
Rule Details
This rule warns when it sees console
. You can specify variants, like console.warn
are not allowed.
Licence
MIT. Copyright (c) Vazco.eu.