Skip to content

Commit 61af65b

Browse files
committed
adjust solhint rules for all packages
1 parent ce01fa7 commit 61af65b

File tree

6 files changed

+49
-5
lines changed

6 files changed

+49
-5
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ package-lock.json
3030
# echidna litters
3131
crytic-export
3232
corpus
33+
34+
/broadcast
35+
/.direnv

packages/automation-contracts/autowrap/.solhint.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@
1414
"constructor-syntax": "error",
1515
"func-visibility": ["error", { "ignoreConstructors": true }],
1616
"quotes": ["error", "double"],
17-
"max-line-length": ["error", 120]
17+
"max-line-length": ["error", 120],
18+
"use-natspec": "off",
19+
"import-path-check": "off",
20+
"gas-indexed-events": "off",
21+
"gas-struct-packing": "off",
22+
"gas-small-strings": "off",
23+
"gas-increment-by-one": "off",
24+
"gas-strict-inequalities": "off",
25+
"gas-calldata-parameters": "off",
26+
"function-max-lines": "off",
27+
"contract-name-capwords": "off"
1828
}
1929
}

packages/automation-contracts/scheduler/.solhint.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@
1414
"constructor-syntax": "error",
1515
"func-visibility": ["error", { "ignoreConstructors": true }],
1616
"quotes": ["error", "double"],
17-
"max-line-length": ["error", 120]
17+
"max-line-length": ["error", 120],
18+
"use-natspec": "off",
19+
"import-path-check": "off",
20+
"gas-indexed-events": "off",
21+
"gas-struct-packing": "off",
22+
"gas-small-strings": "off",
23+
"gas-increment-by-one": "off",
24+
"gas-strict-inequalities": "off",
25+
"gas-calldata-parameters": "off",
26+
"function-max-lines": "off",
27+
"contract-name-capwords": "off"
1828
}
1929
}

packages/ethereum-contracts/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@
1313
/packages
1414
/testing-benchmark.json
1515
/broadcast
16+
17+
/addrs

packages/hot-fuzz/.solhint.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"no-unused-import": "off",
99
"max-states-count": "off",
1010
"no-inline-assembly": "off",
11-
"mark-callable-contracts": "off",
1211
"gas-custom-errors": "off",
1312
"one-contract-per-file": "off",
1413
"max-line-length": ["error", 120],
@@ -17,6 +16,16 @@
1716
"private-vars-leading-underscore": "off",
1817
"reason-string": ["error", { "maxLength": 64 } ],
1918
"compiler-version": ["off"],
20-
"func-visibility" : ["error", { "ignoreConstructors": true }]
19+
"func-visibility" : ["error", { "ignoreConstructors": true }],
20+
"use-natspec": "off",
21+
"import-path-check": "off",
22+
"gas-indexed-events": "off",
23+
"gas-struct-packing": "off",
24+
"gas-small-strings": "off",
25+
"gas-increment-by-one": "off",
26+
"gas-strict-inequalities": "off",
27+
"gas-calldata-parameters": "off",
28+
"function-max-lines": "off",
29+
"contract-name-capwords": "off"
2130
}
2231
}

packages/solidity-semantic-money/.solhint.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@
1616
"constructor-syntax": "error",
1717
"func-visibility": ["error", { "ignoreConstructors": true }],
1818
"quotes": ["error", "double"],
19-
"max-line-length": ["error", 120]
19+
"max-line-length": ["error", 120],
20+
"use-natspec": "off",
21+
"import-path-check": "off",
22+
"gas-indexed-events": "off",
23+
"gas-struct-packing": "off",
24+
"gas-small-strings": "off",
25+
"gas-increment-by-one": "off",
26+
"gas-strict-inequalities": "off",
27+
"gas-calldata-parameters": "off",
28+
"function-max-lines": "off",
29+
"contract-name-capwords": "off"
2030
}
2131
}

0 commit comments

Comments
 (0)