Skip to content

Commit

Permalink
lint: add exception rule for require with custom errors
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Nov 9, 2024
1 parent ae66dfc commit 220629d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"markdownlint": "0.34.0",
"markdownlint-cli": "0.31.1",
"prettier": "3.3.1",
"solhint": "5.0.1",
"solhint": "5.0.3",
"ts-node": "10.8.1"
}
}
3 changes: 2 additions & 1 deletion src/.solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"compiler-version": ["error", ">=0.8.0"],
"func-visibility": ["error", { "ignoreConstructors": true }],
"not-rely-on-time": "off",
"no-inline-assembly": "off"
"no-inline-assembly": "off",
"gas-custom-errors": "off"
}
}

0 comments on commit 220629d

Please sign in to comment.