Skip to content

Commit

Permalink
chore: linter throws errors on everything to enforce it in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jul 11, 2022
1 parent 5c32f02 commit 234708d
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
"extends": "solhint:recommended",
"rules": {
"compiler-version": ["error", ">=0.8.4"],
"func-visibility": ["warn", { "ignoreConstructors": true }],
"func-visibility": ["error", { "ignoreConstructors": true }],
"no-empty-blocks": "off",
"no-unused-vars": ["error"],
"state-visibility": ["error"],
"not-rely-on-time": "off",
"const-name-snakecase": ["warn", { "treatImmutableVarAsConstant": true }],
"var-name-mixedcase": ["warn", { "treatImmutableVarAsConstant": true }],
"error-name-mixedcase": ["warn"],
"private-func-leading-underscore": ["warn"],
"private-vars-no-leading-underscore": ["warn"],
"func-param-name-leading-underscore": ["warn"],
"func-param-name-mixedcase": ["warn"],
"custom-error-over-require": ["warn"],
"strict-override": ["warn"],
"strict-import": ["warn"],
"ordering": ["warn"]
"const-name-snakecase": ["error", { "treatImmutableVarAsConstant": true }],
"var-name-mixedcase": ["error", { "treatImmutableVarAsConstant": true }],
"error-name-mixedcase": ["error"],
"private-func-leading-underscore": ["error"],
"private-vars-no-leading-underscore": ["error"],
"func-param-name-leading-underscore": ["error"],
"func-param-name-mixedcase": ["error"],
"custom-error-over-require": ["error"],
"strict-override": ["error"],
"strict-import": ["error"],
"ordering": ["error"]
}
}

0 comments on commit 234708d

Please sign in to comment.