-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.yml
97 lines (76 loc) · 1.34 KB
/
.eslintrc.yml
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
parser: babel-eslint
extends:
- eslint:recommended
globals:
require: true
env:
es6: true
browser: true
parserOptions:
sourceType: module
rules:
array-bracket-spacing:
- error
- never
arrow-parens: warn
arrow-spacing: warn
brace-style:
- error
- 1tbs
comma-dangle:
- error
- never
comma-spacing: error
comma-style:
- error
- last
curly:
- error
- all
eqeqeq:
- warn
- smart
id-length: warn
indent:
- error
- 2
- SwitchCase: 1
MemberExpression: 1
FunctionDeclaration:
parameters: first
FunctionExpression:
parameters: first
key-spacing: error
keyword-spacing: error
linebreak-style: error
no-const-assign: error
no-duplicate-imports: error
no-eval: error
no-implied-eval: error
no-new-require: error
no-trailing-spaces: error
no-unsafe-negation: error
no-unused-vars: error
no-useless-rename: warn
no-var: warn
object-curly-spacing:
- error
- always
one-var:
- error
- initialized: never
one-var-declaration-per-line: error
prefer-const: warn
radix: warn
semi: error
semi-spacing: error
space-before-function-paren:
- error
- never
space-in-parens:
- error
- never
space-infix-ops: error
space-unary-ops: error
strict: error
unicode-bom: error