-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
98 lines (98 loc) · 3 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"env": {
"browser": true,
"es6": true,
"greasemonkey": true,
"jquery": true,
"node": true
},
"globals": {
"Howl": true
},
"extends": "eslint:recommended",
"rules": {
"brace-style": [2, "1tbs"],
"camelcase": 0,
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
"curly": 2,
"dot-notation": 0,
"eol-last": 2,
"guard-for-in": 2,
"handle-callback-err": 2,
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"keyword-spacing": [2, {"before": true, "after": true}],
"new-parens": 2,
"no-array-constructor": 2,
"no-bitwise": 2,
"no-constant-condition": 2,
"no-else-return": 2,
"no-eq-null": 2,
"no-extra-semi": 2,
"no-floating-decimal": 2,
"no-inline-comments": 0,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-lonely-if": 0,
"no-mixed-requires": 2,
"no-mixed-spaces-and-tabs": 2,
"no-multiple-empty-lines": 2,
"no-negated-in-lhs": 2,
"no-new-object": 2,
"no-path-concat": 2,
"no-process-env": 2,
"no-redeclare": 0,
"no-regex-spaces": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-shadow": 0,
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-unused-expressions": 2,
"no-unused-vars": 2,
//"no-use-before-define": 2,
"no-void": 2,
"quote-props": [2, "as-needed"],
"quotes": [2, "single"],
"radix": 2,
"semi": [2, "always"],
"semi-spacing": 2,
"space-before-blocks": [2, "always"],
"spaced-comment": [2, "always"],
"space-in-parens": [2, "never"],
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"strict": 0,
"valid-typeof": 2,
"wrap-iife": [2, "outside"],
"yoda": [2, "never"],
// ECMAScript 6
"arrow-body-style": "off",
"arrow-parens": "error",
"arrow-spacing": "error",
"generator-star-spacing": "error",
"no-confusing-arrow": "error",
"no-duplicate-imports": "error",
"no-restricted-imports": "error",
"no-useless-computed-key": "error",
"no-useless-constructor": "error",
"no-useless-rename": "error",
"no-var": "error",
"object-shorthand": "error",
"prefer-arrow-callback": "error",
"prefer-const": "error",
"prefer-numeric-literals": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prefer-template": "error",
"rest-spread-spacing": "error",
"sort-imports": "off",
"symbol-description": "error",
"template-curly-spacing": "error",
"yield-star-spacing": "error"
}
}