@zinkawaii/eslint-config 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +13 -0
- package/dist/index.js +708 -727
- package/package.json +10 -13
- package/index.d.ts +0 -11
package/dist/index.js
CHANGED
@@ -1,746 +1,727 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
//#region src/utils.ts
|
2
3
|
function prefixary(prefix, rules) {
|
3
|
-
|
4
|
-
Object.entries(rules).map(([key, value]) => [`${prefix}/${key}`, value])
|
5
|
-
) : prefix;
|
4
|
+
return rules ? Object.fromEntries(Object.entries(rules).map(([key, value]) => [`${prefix}/${key}`, value])) : prefix;
|
6
5
|
}
|
7
6
|
|
8
|
-
|
7
|
+
//#endregion
|
8
|
+
//#region src/lib/patch.ts
|
9
9
|
var patch_default = prefixary({
|
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
|
-
|
10
|
+
"antfu/curly": "off",
|
11
|
+
"antfu/if-newline": "off",
|
12
|
+
"antfu/no-import-dist": "off",
|
13
|
+
"antfu/no-top-level-await": "off",
|
14
|
+
"antfu/top-level-function": "off",
|
15
|
+
"import/consistent-type-specifier-style": "off",
|
16
|
+
"node/prefer-global/process": "off",
|
17
|
+
"perfectionist/sort-imports": ["warn", {
|
18
|
+
groups: [
|
19
|
+
"builtin",
|
20
|
+
"external",
|
21
|
+
"external-type",
|
22
|
+
"internal",
|
23
|
+
"internal-type",
|
24
|
+
[
|
25
|
+
"parent",
|
26
|
+
"sibling",
|
27
|
+
"index"
|
28
|
+
],
|
29
|
+
[
|
30
|
+
"parent-type",
|
31
|
+
"sibling-type",
|
32
|
+
"index-type"
|
33
|
+
],
|
34
|
+
"object",
|
35
|
+
"unknown"
|
36
|
+
],
|
37
|
+
internalPattern: [
|
38
|
+
"#.*",
|
39
|
+
"@/.*",
|
40
|
+
"@@/.*",
|
41
|
+
"~/.*",
|
42
|
+
"~~/.*"
|
43
|
+
],
|
44
|
+
newlinesBetween: "never"
|
45
|
+
}],
|
46
|
+
"ts/no-empty-object-type": "off",
|
47
|
+
"ts/no-redeclare": "warn",
|
48
|
+
"ts/no-unused-expressions": "off",
|
49
|
+
"unicorn/no-new-array": "off",
|
50
|
+
"unicorn/consistent-function-scoping": "off",
|
51
|
+
"unused-imports/no-unused-vars": "off",
|
52
|
+
"yaml/quotes": ["warn", { prefer: "double" }]
|
45
53
|
});
|
46
54
|
|
47
|
-
|
55
|
+
//#endregion
|
56
|
+
//#region src/lib/recommended.ts
|
48
57
|
var recommended_default = prefixary({
|
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
|
-
"no-with": "warn",
|
111
|
-
"require-yield": "warn",
|
112
|
-
"use-isnan": ["warn", {
|
113
|
-
enforceForIndexOf: true
|
114
|
-
}],
|
115
|
-
"valid-typeof": "warn"
|
58
|
+
"constructor-super": "warn",
|
59
|
+
"for-direction": "warn",
|
60
|
+
"getter-return": "warn",
|
61
|
+
"no-async-promise-executor": "warn",
|
62
|
+
"no-case-declarations": "warn",
|
63
|
+
"no-class-assign": "warn",
|
64
|
+
"no-compare-neg-zero": "warn",
|
65
|
+
"no-cond-assign": "off",
|
66
|
+
"no-const-assign": "warn",
|
67
|
+
"no-constant-binary-expression": "warn",
|
68
|
+
"no-constant-condition": ["warn", { checkLoops: false }],
|
69
|
+
"no-control-regex": "warn",
|
70
|
+
"no-debugger": "warn",
|
71
|
+
"no-delete-var": "warn",
|
72
|
+
"no-dupe-args": "warn",
|
73
|
+
"no-dupe-class-members": "off",
|
74
|
+
"no-dupe-else-if": "warn",
|
75
|
+
"no-dupe-keys": "warn",
|
76
|
+
"no-duplicate-case": "warn",
|
77
|
+
"no-empty": "warn",
|
78
|
+
"no-empty-character-class": "warn",
|
79
|
+
"no-empty-static-block": "warn",
|
80
|
+
"no-empty-pattern": "warn",
|
81
|
+
"no-ex-assign": "warn",
|
82
|
+
"no-extra-boolean-cast": "warn",
|
83
|
+
"no-fallthrough": "off",
|
84
|
+
"no-func-assign": "warn",
|
85
|
+
"no-global-assign": "warn",
|
86
|
+
"no-import-assign": "warn",
|
87
|
+
"no-invalid-regexp": "warn",
|
88
|
+
"no-irregular-whitespace": "warn",
|
89
|
+
"no-loss-of-precision": "warn",
|
90
|
+
"no-misleading-character-class": "warn",
|
91
|
+
"no-new-native-nonconstructor": "warn",
|
92
|
+
"no-nonoctal-decimal-escape": "warn",
|
93
|
+
"no-obj-calls": "warn",
|
94
|
+
"no-octal": "warn",
|
95
|
+
"no-prototype-builtins": "warn",
|
96
|
+
"no-redeclare": "off",
|
97
|
+
"no-regex-spaces": "warn",
|
98
|
+
"no-self-assign": "warn",
|
99
|
+
"no-setter-return": "warn",
|
100
|
+
"no-shadow-restricted-names": "warn",
|
101
|
+
"no-sparse-arrays": "warn",
|
102
|
+
"no-this-before-super": "warn",
|
103
|
+
"no-undef": "off",
|
104
|
+
"no-unexpected-multiline": "warn",
|
105
|
+
"no-unreachable": "warn",
|
106
|
+
"no-unsafe-finally": "warn",
|
107
|
+
"no-unsafe-negation": ["warn", { enforceForOrderingRelations: true }],
|
108
|
+
"no-unsafe-optional-chaining": "warn",
|
109
|
+
"no-unused-labels": "warn",
|
110
|
+
"no-unused-private-class-members": "warn",
|
111
|
+
"no-unused-vars": "off",
|
112
|
+
"no-useless-backreference": "warn",
|
113
|
+
"no-useless-catch": "warn",
|
114
|
+
"no-useless-escape": "warn",
|
115
|
+
"no-with": "warn",
|
116
|
+
"require-yield": "warn",
|
117
|
+
"use-isnan": ["warn", { enforceForIndexOf: true }],
|
118
|
+
"valid-typeof": "warn"
|
116
119
|
});
|
117
120
|
|
118
|
-
|
121
|
+
//#endregion
|
122
|
+
//#region src/lib/standard.ts
|
119
123
|
var standard_default = prefixary({
|
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
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
"vars-on-top": "warn",
|
270
|
-
"yoda": ["warn", "never", {
|
271
|
-
exceptRange: true
|
272
|
-
}]
|
124
|
+
"accessor-pairs": "warn",
|
125
|
+
"array-callback-return": "warn",
|
126
|
+
"arrow-body-style": "off",
|
127
|
+
"block-scoped-var": "warn",
|
128
|
+
"camelcase": "off",
|
129
|
+
"capitalized-comments": "off",
|
130
|
+
"class-methods-use-this": "off",
|
131
|
+
"complexity": "off",
|
132
|
+
"consistent-return": "off",
|
133
|
+
"curly": ["warn", "multi-line"],
|
134
|
+
"default-case": "off",
|
135
|
+
"default-case-last": "warn",
|
136
|
+
"default-param-last": "warn",
|
137
|
+
"dot-notation": ["warn", { allowPattern: "^[a-z]+(_[a-z]+)+$" }],
|
138
|
+
"eqeqeq": ["warn", "smart"],
|
139
|
+
"func-name-matching": "off",
|
140
|
+
"func-names": "off",
|
141
|
+
"func-style": [
|
142
|
+
"warn",
|
143
|
+
"declaration",
|
144
|
+
{ allowArrowFunctions: true }
|
145
|
+
],
|
146
|
+
"grouped-accessor-pairs": "off",
|
147
|
+
"guard-for-in": "off",
|
148
|
+
"id-denylist": "off",
|
149
|
+
"id-length": "off",
|
150
|
+
"id-match": "off",
|
151
|
+
"init-declarations": "off",
|
152
|
+
"logical-assignment-operators": "warn",
|
153
|
+
"max-classes-per-file": "off",
|
154
|
+
"max-depth": "off",
|
155
|
+
"max-lines": "off",
|
156
|
+
"max-lines-per-function": "off",
|
157
|
+
"max-nested-callbacks": "off",
|
158
|
+
"max-params": "off",
|
159
|
+
"max-statements": "off",
|
160
|
+
"new-cap": "warn",
|
161
|
+
"no-alert": "warn",
|
162
|
+
"no-array-constructor": "warn",
|
163
|
+
"no-await-in-loop": "off",
|
164
|
+
"no-bitwise": "off",
|
165
|
+
"no-caller": "off",
|
166
|
+
"no-console": "off",
|
167
|
+
"no-constructor-return": "warn",
|
168
|
+
"no-continue": "off",
|
169
|
+
"no-div-regex": "off",
|
170
|
+
"no-duplicate-imports": "warn",
|
171
|
+
"no-else-return": "off",
|
172
|
+
"no-empty-function": "off",
|
173
|
+
"no-eq-null": "off",
|
174
|
+
"no-eval": "warn",
|
175
|
+
"no-extend-native": "warn",
|
176
|
+
"no-extra-bind": "warn",
|
177
|
+
"no-extra-label": "off",
|
178
|
+
"no-implicit-coercion": "off",
|
179
|
+
"no-implicit-globals": "off",
|
180
|
+
"no-implied-eval": "warn",
|
181
|
+
"no-inline-comments": "off",
|
182
|
+
"no-inner-declarations": "off",
|
183
|
+
"no-invalid-this": "off",
|
184
|
+
"no-iterator": "warn",
|
185
|
+
"no-label-var": "off",
|
186
|
+
"no-labels": "off",
|
187
|
+
"no-lone-blocks": "warn",
|
188
|
+
"no-lonely-if": "warn",
|
189
|
+
"no-loop-func": "warn",
|
190
|
+
"no-magic-numbers": "off",
|
191
|
+
"no-multi-assign": "off",
|
192
|
+
"no-multi-str": "warn",
|
193
|
+
"no-negated-condition": "off",
|
194
|
+
"no-nested-ternary": "off",
|
195
|
+
"no-new": "warn",
|
196
|
+
"no-new-func": "warn",
|
197
|
+
"no-new-wrappers": "warn",
|
198
|
+
"no-object-constructor": "warn",
|
199
|
+
"no-octal-escape": "warn",
|
200
|
+
"no-param-reassign": "off",
|
201
|
+
"no-plusplus": "off",
|
202
|
+
"no-promise-executor-return": "warn",
|
203
|
+
"no-proto": "warn",
|
204
|
+
"no-restricted-exports": "off",
|
205
|
+
"no-restricted-globals": "off",
|
206
|
+
"no-restricted-imports": "off",
|
207
|
+
"no-restricted-properties": "off",
|
208
|
+
"no-restricted-syntax": "off",
|
209
|
+
"no-return-assign": "warn",
|
210
|
+
"no-script-url": "off",
|
211
|
+
"no-self-compare": "warn",
|
212
|
+
"no-sequences": "off",
|
213
|
+
"no-shadow": "off",
|
214
|
+
"no-template-curly-in-string": "off",
|
215
|
+
"no-ternary": "off",
|
216
|
+
"no-throw-literal": "off",
|
217
|
+
"no-undef-init": "warn",
|
218
|
+
"no-undefined": "warn",
|
219
|
+
"no-underscore-dangle": "off",
|
220
|
+
"no-unmodified-loop-condition": "warn",
|
221
|
+
"no-unneeded-ternary": ["warn", { defaultAssignment: false }],
|
222
|
+
"no-unreachable-loop": "warn",
|
223
|
+
"no-unused-expressions": "off",
|
224
|
+
"no-unused-private-class-members": "warn",
|
225
|
+
"no-use-before-define": "off",
|
226
|
+
"no-useless-assignment": "off",
|
227
|
+
"no-useless-call": "warn",
|
228
|
+
"no-useless-computed-key": "warn",
|
229
|
+
"no-useless-concat": "warn",
|
230
|
+
"no-useless-constructor": "warn",
|
231
|
+
"no-useless-rename": "warn",
|
232
|
+
"no-useless-return": "warn",
|
233
|
+
"no-var": "warn",
|
234
|
+
"no-void": "off",
|
235
|
+
"no-warning-comments": "off",
|
236
|
+
"object-shorthand": ["warn", "methods"],
|
237
|
+
"one-var": ["warn", { initialized: "never" }],
|
238
|
+
"operator-assignment": ["warn", "always"],
|
239
|
+
"prefer-arrow-callback": ["warn", {
|
240
|
+
allowNamedFunctions: false,
|
241
|
+
allowUnboundThis: true
|
242
|
+
}],
|
243
|
+
"prefer-const": ["warn", {
|
244
|
+
destructuring: "all",
|
245
|
+
ignoreReadBeforeAssign: false
|
246
|
+
}],
|
247
|
+
"prefer-destructuring": "off",
|
248
|
+
"prefer-exponentiation-operator": "warn",
|
249
|
+
"prefer-named-capture-group": "off",
|
250
|
+
"prefer-numeric-literals": "warn",
|
251
|
+
"prefer-object-has-own": "warn",
|
252
|
+
"prefer-object-spread": "warn",
|
253
|
+
"prefer-promise-reject-errors": "warn",
|
254
|
+
"prefer-regex-literals": ["warn", { disallowRedundantWrapping: true }],
|
255
|
+
"prefer-rest-params": "warn",
|
256
|
+
"prefer-spread": "warn",
|
257
|
+
"prefer-template": "off",
|
258
|
+
"radix": "off",
|
259
|
+
"require-atomic-updates": "off",
|
260
|
+
"require-await": "off",
|
261
|
+
"require-unicode-regexp": "off",
|
262
|
+
"sort-imports": "off",
|
263
|
+
"sort-keys": "off",
|
264
|
+
"sort-vars": "off",
|
265
|
+
"strict": "off",
|
266
|
+
"symbol-description": "off",
|
267
|
+
"vars-on-top": "warn",
|
268
|
+
"yoda": [
|
269
|
+
"warn",
|
270
|
+
"never",
|
271
|
+
{ exceptRange: true }
|
272
|
+
]
|
273
273
|
});
|
274
274
|
|
275
|
-
|
275
|
+
//#endregion
|
276
|
+
//#region src/lib/stylistic.ts
|
276
277
|
var stylistic_default = prefixary("style", {
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
"type-named-tuple-spacing": "warn",
|
406
|
-
"wrap-iife": ["warn", "inside", {
|
407
|
-
functionPrototypeMethods: true
|
408
|
-
}],
|
409
|
-
"wrap-regex": "off",
|
410
|
-
"yield-star-spacing": ["warn", "after"]
|
278
|
+
"array-bracket-newline": ["warn", "consistent"],
|
279
|
+
"array-bracket-spacing": ["warn", "never"],
|
280
|
+
"array-element-newline": ["warn", "consistent"],
|
281
|
+
"arrow-parens": ["warn", "always"],
|
282
|
+
"arrow-spacing": ["warn", {
|
283
|
+
before: true,
|
284
|
+
after: true
|
285
|
+
}],
|
286
|
+
"block-spacing": ["warn", "always"],
|
287
|
+
"brace-style": ["warn", "stroustrup"],
|
288
|
+
"comma-dangle": ["warn", "never"],
|
289
|
+
"comma-spacing": ["warn", {
|
290
|
+
before: false,
|
291
|
+
after: true
|
292
|
+
}],
|
293
|
+
"comma-style": ["warn", "last"],
|
294
|
+
"computed-property-spacing": ["warn", "never"],
|
295
|
+
"dot-location": ["warn", "property"],
|
296
|
+
"eol-last": ["warn", "never"],
|
297
|
+
"function-call-argument-newline": ["warn", "consistent"],
|
298
|
+
"function-call-spacing": ["warn", "never"],
|
299
|
+
"function-paren-newline": ["warn", "consistent"],
|
300
|
+
"generator-star-spacing": ["warn", {
|
301
|
+
named: {
|
302
|
+
before: false,
|
303
|
+
after: true
|
304
|
+
},
|
305
|
+
anonymous: {
|
306
|
+
before: true,
|
307
|
+
after: false
|
308
|
+
},
|
309
|
+
method: {
|
310
|
+
before: true,
|
311
|
+
after: true
|
312
|
+
}
|
313
|
+
}],
|
314
|
+
"implicit-arrow-linebreak": ["warn", "beside"],
|
315
|
+
"indent": "off",
|
316
|
+
"indent-binary-ops": "off",
|
317
|
+
"key-spacing": ["warn", {
|
318
|
+
beforeColon: false,
|
319
|
+
afterColon: true,
|
320
|
+
mode: "strict"
|
321
|
+
}],
|
322
|
+
"keyword-spacing": ["warn", {
|
323
|
+
before: true,
|
324
|
+
after: true
|
325
|
+
}],
|
326
|
+
"line-comment-position": "off",
|
327
|
+
"linebreak-style": ["warn", "unix"],
|
328
|
+
"lines-around-comment": "off",
|
329
|
+
"lines-between-class-members": [
|
330
|
+
"warn",
|
331
|
+
"always",
|
332
|
+
{ exceptAfterSingleLine: true }
|
333
|
+
],
|
334
|
+
"max-len": "off",
|
335
|
+
"max-statements-per-line": "off",
|
336
|
+
"member-delimiter-style": ["warn", { multiline: {
|
337
|
+
delimiter: "semi",
|
338
|
+
requireLast: true
|
339
|
+
} }],
|
340
|
+
"multiline-comment-style": "off",
|
341
|
+
"multiline-ternary": "off",
|
342
|
+
"new-parens": "warn",
|
343
|
+
"newline-per-chained-call": "off",
|
344
|
+
"no-confusing-arrow": "warn",
|
345
|
+
"no-extra-parens": ["warn", "functions"],
|
346
|
+
"no-extra-semi": "warn",
|
347
|
+
"no-floating-decimal": "warn",
|
348
|
+
"no-mixed-operators": "off",
|
349
|
+
"no-mixed-spaces-and-tabs": "warn",
|
350
|
+
"no-multi-spaces": ["warn", { ignoreEOLComments: true }],
|
351
|
+
"no-multiple-empty-lines": ["warn", { max: 1 }],
|
352
|
+
"no-tabs": "warn",
|
353
|
+
"no-trailing-spaces": "warn",
|
354
|
+
"no-whitespace-before-property": "warn",
|
355
|
+
"nonblock-statement-body-position": ["warn", "beside"],
|
356
|
+
"object-curly-newline": "warn",
|
357
|
+
"object-curly-spacing": ["warn", "always"],
|
358
|
+
"object-property-newline": ["warn", { allowAllPropertiesOnSameLine: true }],
|
359
|
+
"one-var-declaration-per-line": "off",
|
360
|
+
"operator-linebreak": "off",
|
361
|
+
"padded-blocks": ["warn", "never"],
|
362
|
+
"padding-line-between-statements": "off",
|
363
|
+
"quote-props": ["warn", "as-needed"],
|
364
|
+
"quotes": [
|
365
|
+
"warn",
|
366
|
+
"double",
|
367
|
+
{ allowTemplateLiterals: true }
|
368
|
+
],
|
369
|
+
"rest-spread-spacing": ["warn", "never"],
|
370
|
+
"semi": ["warn", "always"],
|
371
|
+
"semi-spacing": ["warn", {
|
372
|
+
before: false,
|
373
|
+
after: true
|
374
|
+
}],
|
375
|
+
"semi-style": ["warn", "last"],
|
376
|
+
"space-before-blocks": ["warn", "always"],
|
377
|
+
"space-before-function-paren": ["warn", {
|
378
|
+
named: "never",
|
379
|
+
anonymous: "never",
|
380
|
+
asyncArrow: "always"
|
381
|
+
}],
|
382
|
+
"space-in-parens": ["warn", "never"],
|
383
|
+
"space-infix-ops": "warn",
|
384
|
+
"space-unary-ops": "warn",
|
385
|
+
"spaced-comment": "off",
|
386
|
+
"switch-colon-spacing": ["warn", {
|
387
|
+
before: false,
|
388
|
+
after: true
|
389
|
+
}],
|
390
|
+
"template-curly-spacing": ["warn", "never"],
|
391
|
+
"template-tag-spacing": ["warn", "never"],
|
392
|
+
"type-annotation-spacing": ["warn", {
|
393
|
+
before: false,
|
394
|
+
after: true,
|
395
|
+
overrides: { arrow: { before: true } }
|
396
|
+
}],
|
397
|
+
"type-generic-spacing": "warn",
|
398
|
+
"type-named-tuple-spacing": "warn",
|
399
|
+
"wrap-iife": [
|
400
|
+
"warn",
|
401
|
+
"inside",
|
402
|
+
{ functionPrototypeMethods: true }
|
403
|
+
],
|
404
|
+
"wrap-regex": "off",
|
405
|
+
"yield-star-spacing": ["warn", "after"]
|
411
406
|
});
|
412
407
|
|
413
|
-
|
408
|
+
//#endregion
|
409
|
+
//#region src/lib/vue.ts
|
414
410
|
var vue_default = prefixary("vue", {
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
"static-class-names-order": "off",
|
719
|
-
"v-on-handler-style": "off",
|
720
|
-
"valid-v-for": "off",
|
721
|
-
// Too narrow
|
722
|
-
"html-button-has-type": "off",
|
723
|
-
"match-component-file-name": "off",
|
724
|
-
"match-component-import-name": "off",
|
725
|
-
"no-bare-strings-in-template": "off",
|
726
|
-
"no-boolean-default": "off",
|
727
|
-
"no-template-target-blank": "off",
|
728
|
-
// TS instead of
|
729
|
-
"no-undef-properties": "off",
|
730
|
-
"no-unsupported-features": "off",
|
731
|
-
// Useless in Vue 3
|
732
|
-
"v-if-else-key": "off",
|
733
|
-
"valid-v-is": "off"
|
411
|
+
"no-arrow-functions-in-watch": "warn",
|
412
|
+
"no-async-in-computed-properties": "warn",
|
413
|
+
"no-child-content": "warn",
|
414
|
+
"no-computed-properties-in-data": "warn",
|
415
|
+
"no-deprecated-data-object-declaration": "warn",
|
416
|
+
"no-deprecated-destroyed-lifecycle": "warn",
|
417
|
+
"no-deprecated-dollar-listeners-api": "warn",
|
418
|
+
"no-deprecated-dollar-scopedslots-api": "warn",
|
419
|
+
"no-deprecated-events-api": "warn",
|
420
|
+
"no-deprecated-filter": "warn",
|
421
|
+
"no-deprecated-functional-template": "warn",
|
422
|
+
"no-deprecated-html-element-is": "warn",
|
423
|
+
"no-deprecated-inline-template": "warn",
|
424
|
+
"no-deprecated-props-default-this": "warn",
|
425
|
+
"no-deprecated-router-link-tag-prop": "warn",
|
426
|
+
"no-deprecated-scope-attribute": "warn",
|
427
|
+
"no-deprecated-slot-attribute": "warn",
|
428
|
+
"no-deprecated-slot-scope-attribute": "warn",
|
429
|
+
"no-deprecated-v-bind-sync": "warn",
|
430
|
+
"no-deprecated-v-is": "warn",
|
431
|
+
"no-deprecated-v-on-native-modifier": "warn",
|
432
|
+
"no-deprecated-v-on-number-modifiers": "warn",
|
433
|
+
"no-deprecated-vue-config-keycodes": "warn",
|
434
|
+
"no-dupe-keys": "warn",
|
435
|
+
"no-dupe-v-else-if": "warn",
|
436
|
+
"no-duplicate-attributes": "warn",
|
437
|
+
"no-export-in-script-setup": "warn",
|
438
|
+
"no-expose-after-await": "warn",
|
439
|
+
"no-lifecycle-after-await": "warn",
|
440
|
+
"no-mutating-props": "warn",
|
441
|
+
"no-parsing-error": "warn",
|
442
|
+
"no-ref-as-operand": "warn",
|
443
|
+
"no-reserved-component-names": "warn",
|
444
|
+
"no-reserved-keys": "warn",
|
445
|
+
"no-reserved-props": "warn",
|
446
|
+
"no-shared-component-data": "warn",
|
447
|
+
"no-side-effects-in-computed-properties": "warn",
|
448
|
+
"no-template-key": "warn",
|
449
|
+
"no-textarea-mustache": "warn",
|
450
|
+
"no-unused-components": "warn",
|
451
|
+
"no-unused-vars": "warn",
|
452
|
+
"no-use-computed-property-like-method": "warn",
|
453
|
+
"no-use-v-if-with-v-for": "warn",
|
454
|
+
"no-useless-template-attributes": "warn",
|
455
|
+
"no-v-for-template-key-on-child": "warn",
|
456
|
+
"no-v-text-v-html-on-component": "warn",
|
457
|
+
"no-watch-after-await": "warn",
|
458
|
+
"prefer-import-from-vue": "warn",
|
459
|
+
"require-component-is": "warn",
|
460
|
+
"require-prop-type-constructor": "warn",
|
461
|
+
"require-render-return": "warn",
|
462
|
+
"require-slots-as-functions": "warn",
|
463
|
+
"require-toggle-inside-transition": "warn",
|
464
|
+
"require-valid-default-prop": "warn",
|
465
|
+
"return-in-computed-property": "warn",
|
466
|
+
"return-in-emits-validator": "warn",
|
467
|
+
"use-v-on-exact": "warn",
|
468
|
+
"valid-attribute-name": "warn",
|
469
|
+
"valid-define-emits": "warn",
|
470
|
+
"valid-define-props": "warn",
|
471
|
+
"valid-next-tick": "warn",
|
472
|
+
"valid-template-root": "warn",
|
473
|
+
"valid-v-bind": "warn",
|
474
|
+
"valid-v-cloak": "warn",
|
475
|
+
"valid-v-else-if": "warn",
|
476
|
+
"valid-v-else": "warn",
|
477
|
+
"valid-v-html": "warn",
|
478
|
+
"valid-v-if": "warn",
|
479
|
+
"valid-v-memo": "warn",
|
480
|
+
"valid-v-model": "warn",
|
481
|
+
"valid-v-on": "warn",
|
482
|
+
"valid-v-once": "warn",
|
483
|
+
"valid-v-pre": "warn",
|
484
|
+
"valid-v-show": "warn",
|
485
|
+
"valid-v-slot": "warn",
|
486
|
+
"valid-v-text": "warn",
|
487
|
+
"attribute-hyphenation": "warn",
|
488
|
+
"component-definition-name-casing": ["warn", "kebab-case"],
|
489
|
+
"first-attribute-linebreak": ["warn", {
|
490
|
+
singleline: "beside",
|
491
|
+
multiline: "below"
|
492
|
+
}],
|
493
|
+
"html-closing-bracket-newline": ["warn", {
|
494
|
+
singleline: "never",
|
495
|
+
multiline: "always"
|
496
|
+
}],
|
497
|
+
"html-end-tags": "warn",
|
498
|
+
"html-indent": ["warn", 4],
|
499
|
+
"html-quotes": ["warn", "double"],
|
500
|
+
"html-self-closing": ["warn", {
|
501
|
+
html: {
|
502
|
+
void: "always",
|
503
|
+
normal: "never",
|
504
|
+
component: "always"
|
505
|
+
},
|
506
|
+
svg: "always",
|
507
|
+
math: "always"
|
508
|
+
}],
|
509
|
+
"mustache-interpolation-spacing": ["warn", "always"],
|
510
|
+
"no-multi-spaces": "warn",
|
511
|
+
"no-spaces-around-equal-signs-in-attribute": "warn",
|
512
|
+
"no-template-shadow": "warn",
|
513
|
+
"one-component-per-file": "warn",
|
514
|
+
"prop-name-casing": ["warn", "camelCase"],
|
515
|
+
"require-prop-types": "warn",
|
516
|
+
"v-bind-style": [
|
517
|
+
"warn",
|
518
|
+
"shorthand",
|
519
|
+
{ sameNameShorthand: "always" }
|
520
|
+
],
|
521
|
+
"v-on-event-hyphenation": ["warn", "always"],
|
522
|
+
"v-on-style": ["warn", "shorthand"],
|
523
|
+
"v-slot-style": ["warn", {
|
524
|
+
atComponent: "v-slot",
|
525
|
+
default: "shorthand",
|
526
|
+
named: "shorthand"
|
527
|
+
}],
|
528
|
+
"attributes-order": ["warn", { order: [
|
529
|
+
"LIST_RENDERING",
|
530
|
+
"CONDITIONALS",
|
531
|
+
"RENDER_MODIFIERS",
|
532
|
+
"OTHER_DIRECTIVES",
|
533
|
+
"SLOT",
|
534
|
+
"DEFINITION",
|
535
|
+
"UNIQUE",
|
536
|
+
"GLOBAL",
|
537
|
+
[
|
538
|
+
"ATTR_DYNAMIC",
|
539
|
+
"ATTR_STATIC",
|
540
|
+
"ATTR_SHORTHAND_BOOL"
|
541
|
+
],
|
542
|
+
"TWO_WAY_BINDING",
|
543
|
+
"EVENTS",
|
544
|
+
"CONTENT"
|
545
|
+
] }],
|
546
|
+
"no-lone-template": "warn",
|
547
|
+
"no-multiple-slot-args": "warn",
|
548
|
+
"order-in-components": "warn",
|
549
|
+
"this-in-template": ["warn", "never"],
|
550
|
+
"block-order": ["warn", { order: [
|
551
|
+
"script",
|
552
|
+
"template",
|
553
|
+
"style"
|
554
|
+
] }],
|
555
|
+
"block-tag-newline": ["warn", {
|
556
|
+
singleline: "always",
|
557
|
+
multiline: "always"
|
558
|
+
}],
|
559
|
+
"comma-dangle": ["warn", "never"],
|
560
|
+
"component-api-style": ["warn", ["script-setup", "composition"]],
|
561
|
+
"component-name-in-template-casing": [
|
562
|
+
"warn",
|
563
|
+
"kebab-case",
|
564
|
+
{ registeredComponentsOnly: false }
|
565
|
+
],
|
566
|
+
"component-options-name-casing": ["warn", "PascalCase"],
|
567
|
+
"custom-event-name-casing": ["warn", "camelCase"],
|
568
|
+
"define-emits-declaration": ["warn", "type-literal"],
|
569
|
+
"define-macros-order": ["warn", {
|
570
|
+
order: [
|
571
|
+
"defineOptions",
|
572
|
+
"defineProps",
|
573
|
+
"defineModel",
|
574
|
+
"defineEmits",
|
575
|
+
"defineSlots"
|
576
|
+
],
|
577
|
+
defineExposeLast: true
|
578
|
+
}],
|
579
|
+
"define-props-declaration": ["warn", "type-based"],
|
580
|
+
"html-comment-content-newline": ["warn", {
|
581
|
+
singleline: "never",
|
582
|
+
multiline: "always"
|
583
|
+
}],
|
584
|
+
"html-comment-content-spacing": ["warn", "always"],
|
585
|
+
"html-comment-indent": ["warn", 4],
|
586
|
+
"no-deprecated-model-definition": "warn",
|
587
|
+
"no-duplicate-attr-inheritance": "warn",
|
588
|
+
"no-empty-component-block": "warn",
|
589
|
+
"no-multiple-objects-in-class": "warn",
|
590
|
+
"no-potential-component-option-typo": ["warn", { presets: ["all"] }],
|
591
|
+
"no-required-prop-with-default": ["warn", { autofix: true }],
|
592
|
+
"no-static-inline-styles": "warn",
|
593
|
+
"no-this-in-before-route-enter": "warn",
|
594
|
+
"no-unused-refs": "warn",
|
595
|
+
"no-unused-emit-declarations": "warn",
|
596
|
+
"no-use-v-else-with-v-for": "warn",
|
597
|
+
"no-useless-mustaches": ["warn", {
|
598
|
+
ignoreIncludesComment: true,
|
599
|
+
ignoreStringEscape: true
|
600
|
+
}],
|
601
|
+
"no-useless-v-bind": ["warn", {
|
602
|
+
ignoreIncludesComment: true,
|
603
|
+
ignoreStringEscape: true
|
604
|
+
}],
|
605
|
+
"padding-line-between-blocks": ["warn", "always"],
|
606
|
+
"prefer-define-options": "warn",
|
607
|
+
"prefer-prop-type-boolean-first": "warn",
|
608
|
+
"prefer-separate-static-class": "warn",
|
609
|
+
"prefer-true-attribute-shorthand": ["warn", "always"],
|
610
|
+
"require-default-export": "warn",
|
611
|
+
"require-direct-export": "warn",
|
612
|
+
"require-emit-validator": "warn",
|
613
|
+
"require-explicit-emits": "warn",
|
614
|
+
"require-macro-variable-name": "warn",
|
615
|
+
"require-typed-object-prop": "warn",
|
616
|
+
"require-typed-ref": "warn",
|
617
|
+
"valid-define-options": "warn",
|
618
|
+
"v-for-delimiter-style": ["warn", "in"],
|
619
|
+
...Object.fromEntries([
|
620
|
+
"no-constant-condition",
|
621
|
+
"no-empty-pattern",
|
622
|
+
"no-irregular-whitespace",
|
623
|
+
"no-loss-of-precision",
|
624
|
+
"no-sparse-arrays"
|
625
|
+
].map((rule) => [rule, recommended_default[rule]])),
|
626
|
+
...Object.fromEntries([
|
627
|
+
"camelcase",
|
628
|
+
"dot-notation",
|
629
|
+
"eqeqeq",
|
630
|
+
"no-console",
|
631
|
+
"no-restricted-syntax",
|
632
|
+
"no-useless-concat",
|
633
|
+
"object-shorthand",
|
634
|
+
"prefer-template"
|
635
|
+
].map((rule) => [rule, standard_default[rule]])),
|
636
|
+
...Object.fromEntries([
|
637
|
+
"array-bracket-newline",
|
638
|
+
"array-bracket-spacing",
|
639
|
+
"array-element-newline",
|
640
|
+
"arrow-spacing",
|
641
|
+
"block-spacing",
|
642
|
+
"brace-style",
|
643
|
+
"comma-dangle",
|
644
|
+
"comma-spacing",
|
645
|
+
"comma-style",
|
646
|
+
"dot-location",
|
647
|
+
"key-spacing",
|
648
|
+
"keyword-spacing",
|
649
|
+
"max-len",
|
650
|
+
"multiline-ternary",
|
651
|
+
"no-extra-parens",
|
652
|
+
"object-curly-newline",
|
653
|
+
"object-curly-spacing",
|
654
|
+
"object-property-newline",
|
655
|
+
"operator-linebreak",
|
656
|
+
"quote-props",
|
657
|
+
"space-in-parens",
|
658
|
+
"space-infix-ops",
|
659
|
+
"space-unary-ops",
|
660
|
+
"template-curly-spacing"
|
661
|
+
].map((rule) => [rule, stylistic_default[`style/${rule}`]])),
|
662
|
+
"no-undef-components": "off",
|
663
|
+
"require-name-property": "off",
|
664
|
+
"no-ref-object-reactivity-loss": "off",
|
665
|
+
"no-root-v-if": "off",
|
666
|
+
"no-setup-props-reactivity-loss": "off",
|
667
|
+
"no-unused-properties": "off",
|
668
|
+
"html-closing-bracket-spacing": "off",
|
669
|
+
"script-indent": "off",
|
670
|
+
"no-restricted-block": "off",
|
671
|
+
"no-restricted-call-after-await": "off",
|
672
|
+
"no-restricted-class": "off",
|
673
|
+
"no-restricted-component-names": "off",
|
674
|
+
"no-restricted-component-options": "off",
|
675
|
+
"no-restricted-custom-event": "off",
|
676
|
+
"no-restricted-html-elements": "off",
|
677
|
+
"no-restricted-props": "off",
|
678
|
+
"no-restricted-static-attribute": "off",
|
679
|
+
"no-restricted-v-bind": "off",
|
680
|
+
"no-restricted-v-on": "off",
|
681
|
+
"block-lang": "off",
|
682
|
+
"enforce-style-attribute": "off",
|
683
|
+
"max-attributes-per-line": "off",
|
684
|
+
"max-lines-per-block": "off",
|
685
|
+
"max-props": "off",
|
686
|
+
"max-template-depth": "off",
|
687
|
+
"multi-word-component-names": "off",
|
688
|
+
"multiline-html-element-content-newline": "off",
|
689
|
+
"next-tick-style": "off",
|
690
|
+
"new-line-between-multi-line-property": "off",
|
691
|
+
"no-v-html": "off",
|
692
|
+
"no-v-text": "off",
|
693
|
+
"padding-line-between-tags": "off",
|
694
|
+
"padding-lines-in-component-definition": "off",
|
695
|
+
"require-default-prop": "off",
|
696
|
+
"require-expose": "off",
|
697
|
+
"require-prop-comment": "off",
|
698
|
+
"require-v-for-key": "off",
|
699
|
+
"singleline-html-element-content-newline": "off",
|
700
|
+
"sort-keys": "off",
|
701
|
+
"static-class-names-order": "off",
|
702
|
+
"v-on-handler-style": "off",
|
703
|
+
"valid-v-for": "off",
|
704
|
+
"html-button-has-type": "off",
|
705
|
+
"match-component-file-name": "off",
|
706
|
+
"match-component-import-name": "off",
|
707
|
+
"no-bare-strings-in-template": "off",
|
708
|
+
"no-boolean-default": "off",
|
709
|
+
"no-template-target-blank": "off",
|
710
|
+
"no-undef-properties": "off",
|
711
|
+
"no-unsupported-features": "off",
|
712
|
+
"v-if-else-key": "off",
|
713
|
+
"valid-v-is": "off"
|
734
714
|
});
|
735
715
|
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
export {
|
745
|
-
index_default as default
|
716
|
+
//#endregion
|
717
|
+
//#region src/index.ts
|
718
|
+
var src_default = {
|
719
|
+
patch: patch_default,
|
720
|
+
recommended: recommended_default,
|
721
|
+
standard: standard_default,
|
722
|
+
stylistic: stylistic_default,
|
723
|
+
vue: vue_default
|
746
724
|
};
|
725
|
+
|
726
|
+
//#endregion
|
727
|
+
export { src_default as default };
|