@putout/plugin-remove-console
v7.0.0
Published
šPutout plugin adds ability to find and remove console.log calls
Downloads
61,385
Maintainers
Readme
@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';