-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
39 lines (37 loc) · 879 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
38
39
{
"parser": "babel-eslint",
"extends": ["eslint:recommended"],
"plugins": [
"babel",
"import"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true, // browser global variables.
"node": true, // Node.js global variables and Node.js-specific rules.
"es6": true, // es6
"mocha": true // adds all of the Mocha testing global variables.
},
"globals": {
"define": true
},
"rules": {
"import/default": 0,
"import/first": 0,
"import/no-duplicates": 0,
"import/named": 0,
"import/namespace": 0,
"import/no-unresolved": 0,
"import/no-named-as-default": 2,
"import/prefer-default-export": 0,
"object-curly-spacing": 0,
"no-use-before-define": 0
}
}