Skip to content

eco/solhint-plugin-eco

Repository files navigation

Solhint Plugin for the Eco Inc Style Guide (solhint-plugin-eco)

Build Status

A solhint plugin to enforce Eco's style rules

Provides solhint rules to enforce the extra Solidity style rules used at Eco Network.

Table of Contents

Install

Install via NPM:

npm install --save-dev solhint-plugin-eco

Add to your solhint configuration and enable some rules:

{
  "plugins": [
    "eco"
  ],
  "rules": {
    "eco/underscore-function-args": "error"
  }
}

Usage

Provides the following rules:

  • eco/underscore-function-args Function arguments must start with _ to help distinguish them from storage variables.

License

MIT (c) Eco Inc