forked from mozilla/kitsune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
44 lines (41 loc) · 870 Bytes
/
.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
ecmaFeatures:
arrowFunctions: true
binaryLiterals: true
blockBindings: true
classes: true
defaultParams: true
destructuring: true
forOf: true
generators: true
modules: true
objectLiteralComputedProperties: true
objectLiteralDuplicateProperties: true
objectLiteralShorthandMethods: true
objectLiteralShorthandProperties: true
octalLiterals: true
regexUFlag: true
regexYFlag: true
spread: true
superInFunctions: true
templateStrings: true
unicodeCodePointEscapes: true
jsx: true
rules:
quotes: [2, single, avoid-escape]
no-shadow: [2, {hoist: all}]
no-alert: [2]
no-console: [0]
no-unused-vars: [0]
no-var: [0]
comma-dangle: [0]
new-cap: [0]
no-underscore-dangle: [0]
no-use-before-define: [2, nofunc]
camelcase: [0]
env:
es6: true
browser: true
settings:
resolve.root:
- node_modules
- src