forked from smartcontractkit/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.solhint.json
22 lines (22 loc) · 876 Bytes
/
.solhint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"extends": "solhint:recommended",
"plugins": ["prettier", "chainlink-solidity"],
"rules": {
"prettier/prettier": "error",
"compiler-version": ["error", ">=0.4.24"],
"const-name-snakecase": "off",
"constructor-syntax": "error",
"var-name-mixedcase": "off",
"func-named-parameters": "off",
"immutable-vars-naming": "off",
"no-inline-assembly": "off",
"no-unused-import": "error",
"func-visibility": ["error", { "ignoreConstructors": true }],
"quotes": ["error", "double"],
"reason-string": ["warn", { "maxLength": 64 }],
"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"
}
}