no-console eslint code example
Example 1: eslint allow console
"rules": {
"no-console": false,
"no-empty": false,
"no-trailing-whitespace":false
},
Example 2: no-console tslint
"no-console": [true, "log", "error"]