eslint console.log code example
Example 1: eslint console log
module.exports = {
rules: {
'no-console': 'off',
},
};
/* **** OR **** */
/* eslint-disable no-console */
console.log(someThing);
/* eslint-enable no-console */
Example 2: eslint allow console
"rules": {
"no-console": false,
"no-empty": false,
"no-trailing-whitespace":false
},