-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
79 lines (79 loc) · 1.85 KB
/
.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
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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"amd": true,
"node": true,
"es6": true,
"worker": true
},
"plugins": ["standard", "import", "promise", "node", "security"],
"extends": [
"standard",
"google",
"plugin:node/recommended",
"plugin:promise/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:security/recommended"
],
"rules": {
"react/jsx-sort-prop-types": 0,
"react/require-extension": 0,
"react/wrap-multilines": 0,
"node/no-unpublished-require": 0,
"promise/always-return": 1,
"promise/no-return-in-finally": 0,
"node/no-unsupported-features": [
0,
{
"version": 10.0,
"ignores": ["modules"]
}
],
"node/no-unsupported-features/es-syntax": 0,
"standard/object-curly-even-spacing": [2, "either"],
"standard/array-bracket-even-spacing": [2, "either"],
"standard/computed-property-even-spacing": [2, "even"],
"standard/no-callback-literal": [2, ["cb", "callback"]],
"linebreak-style": [0],
"eqeqeq": 2,
"comma-dangle": 0,
"no-console": 0,
"no-debugger": 1,
"no-extra-semi": 1,
"no-extra-parens": 1,
"no-irregular-whitespace": 1,
"no-undef": 0,
"no-unused-vars": 1,
"no-var": 1,
"quotes": [2, "single", "avoid-escape"],
"arrow-parens": 0,
"semi": [1, "always"],
"semi-spacing": 1,
"valid-jsdoc": [
1,
{
"prefer": {
"arg": "param",
"argument": "param",
"class": "constructor",
"return": "return",
"virtual": "abstract"
},
"requireReturn": false
}
],
"indent": [
"error",
2,
{
"FunctionDeclaration": {"parameters": "first"},
"SwitchCase": 1
}
]
}
}