-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
82 lines (82 loc) · 2.15 KB
/
.eslintrc.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"$": false,
"_": false,
"process": false,
"require": false,
"module": false,
"describe": false,
"it": false,
"expect": false,
"__dirname": false,
"__basedir": false,
"global": false,
"beforeEach": false,
"beforeAll": false,
"exports": false
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"no-invalid-this": "off",
"lines-around-comment": "off",
"comma-dangle": "off",
"max-lines": "off",
"newline-per-chained-call": "off",
"max-lines-per-function": "off",
"array-element-newline": "off",
"no-magic-numbers": "off",
"no-continue": "off",
"object-shorthand": "off",
"object-property-newline": "off",
"dot-notation": "off",
"object-curly-spacing": ["error", "always"],
"prefer-destructuring": "off",
"arrow-body-style": "off",
"no-process-env": "off",
"sort-imports": "off",
"capitalized-comments": "off",
"multiline-comment-style": "off",
"max-len": "off",
"object-curly-newline": "off",
"quote-props": "off",
"sort-keys": "off",
"id-length": "off",
"no-plusplus": "off",
"function-paren-newline": "off",
"quotes": "off",
"camelcase": "off",
"one-var": "off",
"dot-location": "off",
"class-methods-use-this": "off",
"line-comment-position": "off",
"no-inline-comments": "off",
"no-extra-parens": "off",
"max-params": "off",
"max-statements": "off",
"indent": [
"error",
4,
{
"SwitchCase": 1,
"ignoreComments": true
}
],
"linebreak-style": [
"error",
"unix"
],
"semi": [
"error",
"never"
]
}
}