6.0.0 β’ Published 3 years ago
@putout/plugin-remove-console v6.0.0
@putout/plugin-remove-console 
The
console.log()method outputs a message to the web console. The message may be a single string (with optional substitution values), or it may be any one or more JavaScript objects.(c) MDN
πPutout plugin adds ability to find and remove console.log calls.
Install
npm i @putout/plugin-remove-consoleRule
{
"rules": {
"remove-console": "on"
}
}β Example of incorrect code
const hello = 'world';
console.log(hello);β Example of correct code
const hello = 'world';