Repository navigation
Expand file tree
/
Copy path.solhint.json
More file actions
52 lines (52 loc) · 1.56 KB
/
Copy path.solhint.json
File metadata and controls
52 lines (52 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"extends": "solhint:recommended",
"plugins": [
"chainlink-solidity"
],
"rules": {
"compiler-version": [
"off",
"^0.8.0"
],
"const-name-snakecase": "off",
"var-name-mixedcase": "off",
"func-named-parameters": "off",
"immutable-vars-naming": "off",
"no-inline-assembly": "off",
"contract-name-capwords": "off",
"use-natspec": "off",
"gas-indexed-events": "off",
"function-max-lines": "off",
"gas-strict-inequalities": "off",
"gas-increment-by-one": "off",
"gas-calldata-parameters": "off",
"gas-small-strings": "off",
"not-rely-on-time": "off",
"no-empty-blocks": "off",
"no-unused-import": "error",
"import-path-check": "off",
"func-visibility": [
"error",
{
"ignoreConstructors": true
}
],
"quotes": [
"error",
"double"
],
"chainlink-solidity/prefix-internal-functions-with-underscore": "warn",
"chainlink-solidity/prefix-private-functions-with-underscore": "warn",
"chainlink-solidity/prefix-storage-variables-with-s-underscore": "warn",
"chainlink-solidity/prefix-immutable-variables-with-i": "warn",
"chainlink-solidity/all-caps-constant-storage-variables": "warn",
"chainlink-solidity/no-hardhat-imports": "warn",
"chainlink-solidity/inherited-constructor-args-not-in-contract-definition": "warn",
"chainlink-solidity/explicit-returns": "off",
"no-console": "off",
"gas-custom-errors": "off",
"reason-string": "off",
"gas-struct-packing": "off",
"one-contract-per-file": "off"
}
}