-
Notifications
You must be signed in to change notification settings - Fork 504
/
.solhint.json
38 lines (38 loc) · 1.09 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
37
38
{
"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",
"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",
"no-empty-blocks": "off",
"contract-name-camelcase": "off",
"no-inline-assembly": "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 }]
}
}