-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
47 lines (47 loc) · 1.05 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
{
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true,
"jest": true
},
"extends": [
"airbnb-base",
"eslint:recommended",
"plugin:import/recommended",
"plugin:security/recommended",
"plugin:node/recommended",
"plugin:prettier/recommended"
],
"rules": {
"strict": 0,
"no-alert": "off",
"class-methods-use-this": "off",
"implicit-arrow-linebreak": 0,
"comma-dangle": 0,
"function-paren-newline": 0,
"object-curly-newline": 0,
"consistent-return": 0,
"no-useless-escape": 0,
"no-unused-expressions": 0,
"prettier/prettier": ["error", { "singleQuote": true }],
"operator-linebreak": [
"error",
"after",
{
"overrides": {
"?": "before",
":": "before",
"&&": "ignore",
"||": "ignore"
}
}
],
"no-duplicate-imports": "error",
"import/extensions": 0,
"no-useless-constructor": "error",
"arrow-parens": 0,
"import/prefer-default-export": 0,
"no-param-reassign": 0,
}
}