Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 401 Bytes

File metadata and controls

26 lines (18 loc) · 401 Bytes

Solhint-plugin-avoid-console

This solhint plugin helps avoid the usage of console statement in production env.

Install

npm install --save-dev solhint-plugin-avoid-console

Usage

Add the following info to your solhint configuration:

{
  "plugins": ["avoid-console"],
  "rules": {
    "avoid-console/no-console-log": "error"
  }
}

LICENSE

MIT License