forked from thirdweb-dev/contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.solhint.json
36 lines (36 loc) · 1.03 KB
/
.solhint.json
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
{
"extends": "solhint:recommended",
"plugins": ["prettier"],
"rules": {
"imports-on-top": "error",
"no-unused-vars": "error",
"code-complexity": ["error", 9],
"compiler-version": ["error", "^0.8.0"],
"const-name-snakecase": "error",
"contract-name-camelcase": "error",
"event-name-camelcase": "error",
"constructor-syntax": "error",
"func-name-mixedcase": "off",
"func-param-name-mixedcase": "error",
"modifier-name-mixedcase": "error",
"private-vars-leading-underscore": "off",
"var-name-mixedcase": "error",
"func-visibility": ["error", { "ignoreConstructors": true }],
"not-rely-on-time": "off",
"prettier/prettier": [
"error",
{
"arrowParens": "avoid",
"bracketSpacing": true,
"endOfLine": "auto",
"printWidth": 120,
"useTabs": false,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "all",
"explicitTypes": "always"
}
],
"reason-string": ["warn", { "maxLength": 64 }]
}
}