forked from python-discord/site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
165 lines (165 loc) · 2.46 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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
env:
browser: true
es6: true
jquery: true
extends: 'eslint:recommended'
parserOptions:
sourceType: script
globals:
Typewriter: true
UIkit: true
rules:
array-bracket-newline:
- warn
- consistent
block-scoped-var:
- error
brace-style:
- warn
comma-dangle:
- warn
- only-multiline
comma-spacing:
- warn
comma-style:
- warn
curly:
- error
- all
dot-location:
- warn
- property
eol-last:
- warn
eqeqeq:
- error
function-paren-newline:
- warn
- consistent
indent:
- error
- 4
linebreak-style:
- error
- unix
lines-around-comment:
- warn
- afterBlockComment: true
allowArrayStart: true
allowBlockStart: true
allowClassStart: true
allowObjectStart: true
beforeBlockComment: true
lines-between-class-members:
- warn
max-len:
- warn
- code: 120
ignoreUrls: true
ignoreRegExpLiterals: true
multiline-comment-style:
- warn
- starred-block
new-parens:
- warn
no-alert:
- warn
no-caller:
- error
no-case-declarations:
- error
no-catch-shadow:
- error
no-confusing-arrow:
- warn
no-else-return:
- warn
no-extra-bind:
- warn
no-extra-label:
- warn
no-floating-decimal:
- warn
no-invalid-this:
- error
no-lone-blocks:
- warn
no-lonely-if:
- warn
no-multi-spaces:
- warn
no-new:
- error
no-param-reassign:
- warn
no-plusplus:
- warn
no-return-assign:
- warn
no-return-await:
- warn
no-tabs:
- warn
no-ternary:
- warn
no-trailing-spaces:
- warn
no-undef-init:
- warn
no-unused-vars:
- warn
no-use-before-define:
- error
no-useless-call:
- warn
no-var:
- error
object-curly-newline:
- warn
operator-assignment:
- warn
- always
prefer-arrow-callback:
- warn
- allowNamedFunctions: false
allowUnboundThis: false
prefer-const:
- warn
prefer-numeric-literals:
- warn
prefer-template:
- warn
quotes:
- warn
- double
quote-props:
- warn
semi:
- error
- always
semi-spacing:
- warn
semi-style:
- warn
sort-imports:
- warn
sort-vars:
- warn
space-infix-ops:
- warn
space-unary-ops:
- warn
- words: true
nonwords: true
spaced-comment:
- warn
- always
strict:
- error
- global
wrap-iife:
- warn
- inside
yoda:
- error
- never