-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: introduce solhint linter + fixes (#245)
* fix: bug id 6 * fix: bug id 7 + tests * fix: bug id 8 * fix: bug id 9 * fix: bug id 11 * fix: suppress linter * fix: revert prev commit, will be included in separate PR This reverts commit 34d6035. * fix: bug id 12 * fix: bug id 13 * fix: bug id 14 * chore: update abis + bindings * fix: missed two required strings * feat: introduce solhint json and integrate with ci * fix: linting issues for scripts dir * feat: updates and fixes * fix: nit * fix: nit * fix: nit * chore: update abis + bindings * chore: run solhint directly, don't use make target
- Loading branch information
Showing
19 changed files
with
165 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 14 additions & 14 deletions
28
contracts-abi/clients/ValidatorRegistryV1/ValidatorRegistryV1.go
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"extends": "solhint:recommended", | ||
"rules": { | ||
"max-line-length": ["error", 1000], | ||
"func-visibility": ["error", { "ignoreConstructors": true }], | ||
"modifier-name-mixedcase": "error", | ||
"func-param-name-mixedcase": "error", | ||
"gas-calldata-parameters": "error", | ||
"gas-increment-by-one": "error", | ||
"gas-struct-packing": "error", | ||
"no-unused-vars": "error", | ||
"interface-starts-with-i": "error", | ||
"reason-string": "warn", | ||
"private-vars-leading-underscore": "warn", | ||
"gas-length-in-loops": "warn", | ||
"gas-strict-inequalities": "warn", | ||
"ordering": "warn", | ||
"gas-indexed-events": "warn", | ||
"gas-custom-errors": "warn" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
lib/ | ||
test/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.