Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 908 Bytes

README.md

File metadata and controls

39 lines (33 loc) · 908 Bytes

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