-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
101 lines (101 loc) · 1.51 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
parser: babel-eslint
env:
browser: true
node: true
rules:
array-bracket-spacing:
- 2
- never
arrow-parens: 2
arrow-spacing: 2
camelcase:
- 2
- properties: always
brace-style:
- 2
- 1tbs
- allowSingleLine: false
block-spacing: 2
callback-return:
- 0
- - callback
- done
- next
comma-style:
- 2
- last
comma-dangle:
- 2
- always-multiline
computed-property-spacing: 2
consistent-this: 2
default-case: 2
dot-location:
- 2
- property
indent:
- 1
- 2
key-spacing:
- 2
- afterColon: true
beforeColon: false
linebreak-style:
- 2
- unix
max-depth:
- 1
- 2
max-len:
- 1
- 80
- 2
max-params:
- 1
- 3
no-class-assign: 2
no-const-assign: 2
no-else-return: 2
no-invalid-this: 2
no-lonely-if: 2
no-multi-spaces:
- 2
- exceptions:
AssignmentExpression: true
ImportDeclaration: true
Property: true
VariableDeclarator: true
no-multiple-empty-lines:
- 2
- max: 1
no-nested-ternary: 2
no-new-require: 2
no-self-compare: 2
no-throw-literal: 2
no-unneeded-ternary: 1
no-unused-expressions: 2
no-unused-vars:
- 1
- vars: all
args: all
varsIgnorePattern: ^[A-Z]|^.$|^_
argsIgnorePattern: ^[A-Z]|^_
no-use-before-define: 2
no-var: 2
no-void: 2
object-curly-spacing:
- 2
- never
prefer-const: 2
quotes:
- 2
- single
space-after-keywords:
- 2
- always
space-before-blocks:
- 2
- always
space-before-function-paren: 2
spaced-comment: 2
strict: 0