-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.eslintrc
37 lines (37 loc) · 821 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
37
{
"extends": ["airbnb/base", "prettier"],
"plugins": ["prettier"],
"parser": "@babel/eslint-parser",
"globals": {
"fetch": true,
"window": true,
"document": true
},
"rules": {
"prettier/prettier": ["error"],
"no-console": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"prefer-destructuring": ["error", { "object": true, "array": false }],
"quote-props": 0,
"linebreak-style": 0,
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"webpack.common.js",
"webpack.dev.js",
"webpack.prod.js"
]
}
]
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true,
"experimentalObjectRestSpread": true
}
}
}