Turn off error for console.log on my eslint
Allowing the console.log
to stay in code is requiring a separate rule.
You need to add 'no-console' statement to your eslint config rules
.
Like so:
rules: {
"no-console": 0
}
A better practice is to warn you about all the console.log
in your code, like so:
rules: {
"no-console": 1
}