Skip to content

Commit

Permalink
build: switch to "solhint"
Browse files Browse the repository at this point in the history
chore: disable Solhint rules
  • Loading branch information
PaulRBerg committed Sep 29, 2023
1 parent f8f29e8 commit c1acdfe
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 71 deletions.
3 changes: 3 additions & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@
"compiler-version": ["error", ">=0.8.19"],
"contract-name-camelcase": "off",
"const-name-snakecase": "off",
"custom-errors": "off",
"func-name-mixedcase": "off",
"func-visibility": ["error", { "ignoreConstructors": true }],
"immutable-vars-naming": "off",
"max-line-length": ["error", 123],
"named-parameters-mapping": "warn",
"no-empty-blocks": "off",
"not-rely-on-time": "off",
"one-contract-per-file": "off",
"var-name-mixedcase": "off"
}
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
"@openzeppelin/contracts": "4.9.2",
"@prb/proxy": "4.0.1",
"@sablier/v2-core": "1.0.2",
"@uniswap/permit2": "github:sablier-labs/permit2#4ea99fe3a01bb526cba6370f1e07d247a718ea51"
"@uniswap/permit2": "github:sablier-labs/permit2#4ea99fe3a01bb526cba6370f1e07d247a718ea51",
"solhint": "^3.6.2"
},
"devDependencies": {
"prettier": "^2.8.8",
"solhint-community": "^3.7.0-rc00"
"solhint-community": "3.7.0-rc00"
},
"files": [
"artifacts",
Expand Down
Loading

0 comments on commit c1acdfe

Please sign in to comment.