Skip to content

Commit

Permalink
Merge pull request #129 from gnosis/rebase-linter
Browse files Browse the repository at this point in the history
Rebase linter
  • Loading branch information
cag authored Aug 14, 2018
2 parents 3cef6f5 + 5fdf1a7 commit 6f57880
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*.sol linguist-language=Solidity
*.sol linguist-language=Solidity
13 changes: 13 additions & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "default",
"rules": {
"bracket-align": "warn",
"code-complexity": "warn",
"const-name-snakecase": "warn",
"expression-indent": "warn",
"function-max-lines": "warn",
"indent": "warn",
"max-line-length": "warn",
"statement-indent": "warn"
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"migrate": "truffle migrate",
"networks": "truffle networks",
"test": "truffle test",
"lint-contracts": "solhint contracts/**/*.sol",
"injectnetinfo": "tnt iN",
"extractnetinfo": "tnt eN",
"resetnetinfo": "truffle networks --clean && tnt iN",
Expand Down Expand Up @@ -38,6 +39,7 @@
"lodash": "^4.17.4",
"npm-prepublish": "^1.2.3",
"truffle": "^4.0.4",
"solhint": "^1.1.10",
"web3": "^1.0.0-beta.35"
},
"repository": {
Expand Down

0 comments on commit 6f57880

Please sign in to comment.