-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc.json
90 lines (90 loc) · 1.54 KB
/
.eslintrc.json
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"parser": "babel-eslint",
"globals": {
"angular": false,
"Socket": false,
"Clipboard": false,
"xssFilters": false,
"moment": false,
"Kefir": false,
"require": false,
"__BUILD_STATS__": false,
"__SENTRY_DSN__": false
},
"rules": {
"one-var": 0,
"no-var": 0,
"import/no-unresolved": 0,
"space-infix-ops": 2,
"import/no-mutable-exports": 2,
"no-console": 0,
"no-trailing-spaces": 2,
"eqeqeq": 2,
"strict": 2,
"no-shadow": 2,
"space-before-blocks": 2,
"spaced-comment": [
"error",
"always",
{ "exceptions": ["/"] }
],
"comma-dangle": [
2,
"always-multiline"
],
"no-confusing-arrow": [
2,
{
"allowParens": true
}
],
"keyword-spacing": [
2,
{
"before": true,
"after": true,
"overrides": {}
}
],
"space-before-function-paren": [
2,
{
"anonymous": "always",
"named": "never"
}
],
"indent": [
2,
2
],
"no-mixed-spaces-and-tabs": "error",
"quotes": [
2,
"single"
],
"semi": [
2,
"always"
],
"no-restricted-syntax": [
2,
"DebuggerStatement",
"ForInStatement",
"LabeledStatement",
"WithStatement"
]
},
"plugins": [
"angular",
"import"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"browser": true,
"es6": true
},
"comment": { "extends": "airbnb-base" }
}