forked from jakearchibald/big-web-quiz
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
40 lines (40 loc) · 807 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
40
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"quotes": [2, "single"],
"eol-last": [0],
"no-mixed-requires": [0],
"no-underscore-dangle": [0],
"semi": ["error", "always"],
"no-console": [0],
"space-before-function-paren":[0],
"indent": ["error", 2],
"object-curly-spacing": ["error", "always"],
"max-nested-callbacks": ["error", 4]
},
"extends": "htmlacademy/es6",
"globals": {
"angular": 1,
"console": 1,
"Promise": 1,
"io": 1,
"describe": 1,
"it": 1,
"before": 1,
"beforeEach": 1,
"after": 1,
"afterEach": 1
},
"parserOptions": {
"sourceType":"module",
"ecmaVersion": 6,
"ecmaFeatures": {
"modules": true
}
}
}