forked from ccxt/ccxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
33 lines (33 loc) · 990 Bytes
/
.eslintrc
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
{
"env": {
"node": true,
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "script",
},
"extends": "eslint:recommended",
"rules": {
"strict": 2,
"comma-dangle": ["error", "always-multiline"],
"semi": 2,
"lines-between-class-members": 2,
"no-multiple-empty-lines": ["error", { "max": 1 }],
"multiline-comment-style": [2, "separate-lines"],
"no-whitespace-before-property": 2,
"space-before-blocks": [2, "always"],
"brace-style": [2, "1tbs"],
"space-before-function-paren": ["error", "always"],
"block-spacing": [2, "always"],
"keyword-spacing": [2, { "before": true, "after": true }],
"object-curly-spacing": [2, "always"],
"eqeqeq": "error",
"quotes": ["error", "single"],
"no-unused-vars": ["error", { "argsIgnorePattern": "^(since|params|limit)" }],
"new-parens": "error",
"new-cap": "error",
"no-var": "error",
"prefer-const": "off",
"no-warning-comments": "error",
}
}