-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
67 lines (67 loc) · 1.49 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
57
58
59
60
61
62
63
64
65
66
67
// Use this file as a starting point for your project's .eslintrc.
// Copy this file, and add rule overrides as needed.
{
"extends": "airbnb",
"env": {
"es6": false
},
"rules": {
"linebreak-style": [
"error",
"windows"
],
"indent": [
"error",
4
],
"func-names": 0,
"no-param-reassign": 0,
"one-var": 0,
"comma-dangle": [
"error",
"never"
],
// Disable ES6-specific rules
"arrow-body-style": 0,
"arrow-parens": 0,
"arrow-spacing": 0,
"constructor-super": 0,
"generator-star-spacing": 0,
"no-class-assign": 0,
"no-confusing-arrow": 0,
"no-const-assign": 0,
"no-dupe-class-members": 0,
"no-duplicate-imports": 0,
"no-new-symbol": 0,
"no-restricted-imports": 0,
"no-this-before-super": 0,
"no-useless-computed-key": 0,
"no-useless-constructor": 0,
"no-useless-rename": 0,
"no-var": 0,
"object-shorthand": 0,
"prefer-arrow-callback": 0,
"prefer-const": 0,
"prefer-destructuring": 0,
"prefer-numeric-literals": 0,
"prefer-rest-params": 0,
"prefer-spread": 0,
"prefer-template": 0,
"require-yield": 0,
"rest-spread-spacing": 0,
"spaced-comment": 0,
"sort-imports": 0,
"symbol-description": 0,
"template-curly-spacing": 0,
"yield-star-spacing": 0,
"no-undef": 0
},
"globals": {
"Handlebars": false,
"Cookies": false,
"window": false,
"$": false,
"document": false,
"_": false
}
}