-
Notifications
You must be signed in to change notification settings - Fork 55
/
.eslintrc
122 lines (121 loc) · 2.38 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
---
env:
browser: true
node: true
es6: true
jquery: true
mocha: true
parser: "babel-eslint"
parserOptions:
ecmaVersion: 7
sourceType: "module"
ecmaFeatures:
arrowFunctions: true
blockBindings: true
classes: true
defaultParams: true
destructuring: true
forOf: false
generators: true
modules: true
objectLiteralComputedProperties: true
objectLiteralDuplicateProperties: true
objectLiteralShorthandMethods: true
objectLiteralShorthandProperties: true
octalLiterals: true
regexUFlag: true
regexYFlag: true
restParams: true
spread: true
superInFunctions: true
templateStrings: true
unicodeCodePointEscapes: true
globalReturn: false
rules:
indent:
- "error"
- 4
-
SwitchCase: 1
semi:
- 2
- "always"
quotes:
- 2
- "single"
strict:
- 2
- "never"
eqeqeq:
- 2
- "smart"
no-var: 2
valid-jsdoc: "error"
no-undef: "error"
no-unused-labels: "error"
no-unused-expressions: "error"
no-useless-concat: "error"
block-scoped-var: 2
camelcase:
- "error"
-
properties: "never"
comma-style:
- 2
- "last"
curly:
- 2
- "all"
dot-notation:
- 2
-
allowKeywords: true
no-caller: 2
no-cond-assign:
- 2
- "except-parens"
no-debugger: 2
no-extend-native: 2
no-extra-parens: 2
no-irregular-whitespace: 2
no-iterator: 2
no-loop-func: 2
no-multi-str: 2
no-new: 2
no-proto: 2
no-script-url: 2
no-sequences: 2
no-unused-vars:
- "error"
-
caughtErrors: "none"
args: "none"
no-with: 2
valid-typeof: 2
wrap-iife:
- 2
- "inside"
no-multi-spaces: "error"
newline-per-chained-call:
- "error"
-
ignoreChainWithDepth: 3
no-duplicate-imports:
- "error"
-
includeExports: true
no-dupe-class-members: "error"
no-const-assign: "error"
no-confusing-arrow: "error"
constructor-super: "error"
babel/generator-star-spacing: 1
babel/new-cap:
- 2
-
capIsNewExceptions:
- "$.Event"
babel/object-shorthand: 1
babel/arrow-parens: 1
babel/no-await-in-loop: 1
plugins:
- "babel"