-
Notifications
You must be signed in to change notification settings - Fork 468
Expand file tree
/
Copy path.solhint.json
More file actions
39 lines (39 loc) · 1.37 KB
/
.solhint.json
File metadata and controls
39 lines (39 loc) · 1.37 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
{
"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": "warn"
}
}