-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
36 lines (36 loc) · 897 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
34
35
36
{
"env": {
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"extends": "airbnb-base",
"rules": {
"strict": "error",
"semi": ["error"],
"comma-dangle": ["error"],
"space-before-function-paren": ["error", { "anonymous": "never", "named": "always" }],
"class-methods-use-this": "off",
"object-curly-newline": ["error", { "multiline": false, "consistent": true }],
"global-require": "off",
"arrow-parens": 1,
"no-param-reassign": ["error", { "props": false }],
"camelcase": 1,
"no-multi-assign": 0,
"no-restricted-syntax": 0,
"no-await-in-loop": 2,
"no-underscore-dangle": 0,
"default-case": 0,
"no-unreachable": 0,
"no-return-await": 2,
"no-console": "off"
},
"globals": {
"use": true
}
}