Replaced Solium in favor of Solhint (#1575)
* Adding solhint, working on style fixes. * Upgraded to solhint 1.5.0. * Removed all references to Solium * Updated mocks to make the pass the new linter rules. * Reformatted the .solhint.json file a bit. * Removed Solium configuration files. * Remove Solium dependency. * Add comment explaing disabled time rule in TokenVesting. * Revert to the old (ugly?) style. * Revert SignatureBouncerMock style. * Fix ERC165InterfacesSupported interface.
Showing
.solhint.json
0 → 100644
.soliumignore
deleted
100644 → 0
.soliumrc.json
deleted
100644 → 0
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
| ... | @@ -13,14 +13,13 @@ | ... | @@ -13,14 +13,13 @@ |
| "console": "truffle console", | "console": "truffle console", | ||
| "coverage": "scripts/coverage.sh", | "coverage": "scripts/coverage.sh", | ||
| "lint": "npm run lint:js && npm run lint:sol", | "lint": "npm run lint:js && npm run lint:sol", | ||
| "lint:fix": "npm run lint:js:fix && npm run lint:sol:fix", | "lint:fix": "npm run lint:js:fix", | ||
| "lint:js": "eslint .", | "lint:js": "eslint .", | ||
| "lint:js:fix": "eslint . --fix", | "lint:js:fix": "eslint . --fix", | ||
| "lint:sol": "solium -d .", | "lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"", | ||
| "lint:sol:fix": "solium -d . --fix", | |||
| "prepack": "npm run build", | "prepack": "npm run build", | ||
| "test": "npm run compile && scripts/test.sh", | "version": "scripts/version.js", | ||
| "version": "scripts/version.js" | "test": "npm run compile && scripts/test.sh" | ||
| }, | }, | ||
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| ... | @@ -55,8 +54,8 @@ | ... | @@ -55,8 +54,8 @@ |
| "ethjs-abi": "^0.2.1", | "ethjs-abi": "^0.2.1", | ||
| "ganache-cli": "6.1.8", | "ganache-cli": "6.1.8", | ||
| "pify": "^4.0.1", | "pify": "^4.0.1", | ||
| "solhint": "^1.5.0", | |||
| "solidity-coverage": "^0.5.4", | "solidity-coverage": "^0.5.4", | ||
| "solium": "^1.1.8", | |||
| "truffle": "^4.1.13", | "truffle": "^4.1.13", | ||
| "web3-utils": "^1.0.0-beta.34" | "web3-utils": "^1.0.0-beta.34" | ||
| }, | }, | ||
| ... | ... |
Please
register
or
sign in
to comment