forked from joincivil/Civil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.soliumrc.json
46 lines (45 loc) · 1.47 KB
/
.soliumrc.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
39
40
41
42
43
44
45
46
{
"extends": "solium:recommended",
"plugins": ["security"],
"rules": {
"imports-on-top": "error",
"variable-declarations": "error",
"array-declarations": "error",
"operator-whitespace": "error",
"conditionals-whitespace": "error",
"comma-whitespace": "error",
"semicolon-whitespace": "error",
"function-whitespace": "error",
"lbrace": "error",
"mixedcase": "error",
"camelcase": "warning",
"uppercase": "error",
"no-empty-blocks": "warning",
"no-unused-vars": "error",
"blank-lines": "off",
"whitespace": "error",
"deprecated-suicide": "error",
"pragma-on-top": "error",
"function-order": "off",
"quotes": ["error", "double"],
"indentation": ["error", 2],
"max-len": "off",
"security/no-throw": "error",
"security/no-tx-origin": "error",
"security/enforce-explicit-visibility": "error",
"security/no-block-members": ["error", ["blockhash"]],
"security/no-call-value": "warning",
"security/no-assign-params": "error",
"security/no-fixed": "error",
"security/no-inline-assembly": "off",
"security/no-low-level-calls": "warning",
"security/no-modify-for-iter-var": "error",
"security/no-send": "error",
"security/no-sha3": "error",
"security/no-unreachable-code": "error",
"security/enforce-loop-bounds": "error",
"security/enforce-placeholder-last": "warning",
"security/no-suicide-or-selfdestruct": "warning",
"security/no-var": "error"
}
}