diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-06 06:09:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 06:09:41 +0800 |
commit | 51b86742d10a9e73fd017a0d052e0e423685eb69 (patch) | |
tree | 29739a23d999221ca2f5bdde4ae767a5b1fc6e37 /packages/contracts/package.json | |
parent | 51fa8d3e24939cffc043bf97e478390df129ca27 (diff) | |
parent | f21b042ed1df87ff546fa5cfdae91832e1e3ba2b (diff) | |
download | dexon-sol-tools-51b86742d10a9e73fd017a0d052e0e423685eb69.tar dexon-sol-tools-51b86742d10a9e73fd017a0d052e0e423685eb69.tar.gz dexon-sol-tools-51b86742d10a9e73fd017a0d052e0e423685eb69.tar.bz2 dexon-sol-tools-51b86742d10a9e73fd017a0d052e0e423685eb69.tar.lz dexon-sol-tools-51b86742d10a9e73fd017a0d052e0e423685eb69.tar.xz dexon-sol-tools-51b86742d10a9e73fd017a0d052e0e423685eb69.tar.zst dexon-sol-tools-51b86742d10a9e73fd017a0d052e0e423685eb69.zip |
Merge pull request #824 from protofire/v2-prototype-solhint
Add and apply solidity linter (V2, updated)
Diffstat (limited to 'packages/contracts/package.json')
-rw-r--r-- | packages/contracts/package.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 448871c23..a1abd1059 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -31,7 +31,8 @@ "coverage:report:html": "istanbul report html && open coverage/index.html", "profiler:report:html": "istanbul report html && open coverage/index.html", "coverage:report:lcov": "istanbul report lcov", - "test:circleci": "yarn test" + "test:circleci": "yarn test", + "lint-contracts": "solhint src/2.0.0/**/*.sol" }, "config": { "abis": @@ -68,6 +69,7 @@ "npm-run-all": "^4.1.2", "shx": "^0.2.2", "solc": "^0.4.24", + "solhint": "^1.2.1", "tslint": "5.8.0", "typescript": "2.7.1", "yargs": "^10.0.3" |