-
Notifications
You must be signed in to change notification settings - Fork 24
/
.eslintrc
56 lines (56 loc) · 1.48 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
54
55
56
{
"rules": {
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"arrow-body-style": 0,
"no-new": 0,
"no-restricted-syntax": 0,
"newline-per-chained-call": 0,
"new-cap": 0,
"global-require": 0,
"no-console": 0,
"max-len": [1, 160],
"quote-props": [1, "consistent-as-needed"],
"no-cond-assign": [2, "except-parens"],
"radix": 0,
"func-names": 0,
"padded-blocks": 0,
"computed-property-spacing": [2, "never"],
"space-infix-ops": 0,
"no-unused-vars": [1, {"vars": "local", "args": "none"}],
"space-before-function-paren": 0,
"space-in-parens": [2, "never"],
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
"prefer-template": 0,
"comma-dangle": 0,
"import/no-dynamic-require": 0,
"import/prefer-default-export": 0
},
"parser": "babel-eslint",
"env": {
"es6": true,
"browser": true,
"node": true
},
"globals": {
"describe" : true,
"beforeEach" : true,
"afterEach" : true,
"it" : true,
"expect" : true,
"_" : true,
"spyOn" : true
},
"extends": "airbnb"
}