-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
47 lines (38 loc) · 952 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
45
46
47
env:
node: true
ecmaFeatures:
templateStrings: true
classes: true
modules: true
arrowFunctions: true
defaultParams: true
restParams: true
spread: true
superInFunctions: true
generators: true
blockBindings: true
destructuring: true
forOf: true
binaryLiterals: true
octalLiterals: true
unicodeCodePointEscapes: true
objectLiteralComputedProperties: true
objectLiteralShorthandMethods: true
objectLiteralShorthandProperties: true
# Note: Rules are modified using a number that defines what the rule's behavior should be:
# 0 - turn the rule off
# 1 - turn the rule on as a warning (doesn't affect exit code)
# 2 - turn the rule on as an error (exit code is 1 when triggered)
rules:
semi: [2, always]
no-extra-semi: 2
semi-spacing: 2
comma-spacing: 2
no-shadow: 1
no-unused-vars: 1
no-use-before-define: [2, nofunc]
# Disabled:
no-underscore-dangle: 0
quotes: 0
strict: 0
# vim: ft=yaml