Remove your colleagues' annoying console.log
.
First, You should have installed git
, and then:
npm install babel-plugin-remove-log --save-dev
Use with babel:
{
"plugins": [["babel-plugin-remove-log"]]
}
Property | Description | Type | Default |
---|---|---|---|
disabledCurrentUser | Remove console.log that you have committed |
boolean | false |
users | Don't remove console.log of these users |
string[] |
- |
Use git blame
to find your colleagues' console.log
statements and remove them.