$ cnpm install @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.
npm i @putout/plugin-remove-console
{
"rules": {
"remove-console": "on"
}
}
const hello = 'world';
console.log(hello);
const hello = 'world';
Copyright 2013 - present © cnpmjs.org | Home |