-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
58 lines (58 loc) · 1.62 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
{
"plugins": [
"node"
],
"extends": ["eslint:recommended", "plugin:node/recommended", "airbnb"],
"rules": {
"node/no-unsupported-features": 0,
"no-unused-expressions": 0,
"strict": 0,
"jsx-a11y/img-has-alt": 0,
"import/prefer-default-export": 0,
"class-methods-use-this": 0,
"react/sort-comp": 0,
"arrow-body-style": 0,
"no-plusplus": 0,
"new-cap": 0,
"no-undef": "error",
"no-console": 0,
"node/no-extraneous-require": 0,
"no-process-exit": 0,
"indent": ["error", 2, {
"SwitchCase": 1
}],
"semi": [2, "always"],
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "always",
"asyncArrow": "always"
}],
"no-mixed-spaces-and-tabs": "error",
"no-restricted-syntax": "off",
"no-restricted-globals": "off",
"consistent-return": "error",
"no-unused-vars": ["error", {"args": "none"}],
"no-trailing-spaces": "error",
"comma-dangle": ["error", "never"],
"eol-last": "error",
"arrow-spacing": "error",
"no-param-reassign": "warn",
"max-len": "off",
"prefer-const": "off",
"no-underscore-dangle": "warn",
"global-require": "off",
"import/no-dynamic-require": "off",
"no-throw-literal": "off",
"no-alert": "off",
"no-continue": "off",
"func-names": "off",
"no-await-in-loop": "off",
"node/shebang": "off",
"object-curly-spacing": ["error", "never"],
"newline-per-chained-call": "off"
},
"globals": {
"describe": true,
"it": true
}
}