-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
47 lines (42 loc) · 1.3 KB
/
index.js
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
47
'use strict';
module.exports = {
// Due to issues with Solium, shareable configs don't currently support extension.
// Sigh!
// https://sourcegraph.com/github.com/duaraghav8/Ethlint/-/blob/config/schemas/sharable-config.js
// 'extends': 'solium:recommended',
'rules': {
"imports-on-top": "error",
"variable-declarations": "error",
"array-declarations": "error",
"no-unused-vars": "error",
'quotes': ['error', 'double'],
"value-in-payable": "error",
"linebreak-style": "error",
"error-reason": ["error", { "errorMessageMaxLength": 250 }],
"no-empty-blocks": "warning",
"deprecated-suicide": "warning",
"pragma-on-top": "error",
"emit": "error",
"no-constant": "warning",
"max-len": "error",
"constructor": "error",
"visibility-first": "error",
"lbrace": "off",
"mixedcase": "off",
"camelcase": "off",
"uppercase": "off",
"blank-lines": "off",
"arg-overflow": "off",
"function-order": "error",
"no-experimental": "error",
// Handled by prettier
"indentation": ["off"],
"conditionals-whitespace": "off",
"whitespace": "off",
"function-whitespace": "off",
"semicolon-whitespace": "off",
"comma-whitespace": "off",
"operator-whitespace": "off",
"no-trailing-whitespace": "off"
},
};