console.log linter code example
Example 1: eslint unexpected console statement
/*eslint no-console: */
Example 2: eslint allow console
"rules": {
"no-console": false,
"no-empty": false,
"no-trailing-whitespace":false
},