-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
53 lines (53 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
48
49
50
51
52
53
{
"extends": [
"airbnb",
"prettier",
"prettier/flowtype"
],
"parser": "babel-eslint",
"env": {
"node": true,
"es6": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"modules": true,
"arrowFunctions": true,
"es6": true,
"commonjs": true
}
},
"plugins": [
"babel",
"promise",
"prettier",
"flowtype"
],
"rules": {
"semi": [2, "never"],
"no-unused-vars": [2, {
"vars": "local",
"args": "none"
}],
"function-paren-newline": ["error", "consistent"],
"object-curly-newline": ["error", {
"ObjectExpression": { "consistent": true },
"ObjectPattern": { "consistent": true }
}],
"curly": ["error", "multi-or-nest"],
"allowEmptyCatch": 0,
"newline-per-chained-call": 0,
"no-empty-function": "error",
"prettier/prettier": "error"
},
"settings": {
"import/extensions": ["js"],
"import/resolver": {
"webpack": {
"config": "webpack.config.js"
}
}
}
}