@component-hook/eslint-plugin 1.1.0 → 1.1.2

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.
Files changed (4) hide show
  1. package/README.md +16 -15
  2. package/dist/index.d.ts +149 -1267
  3. package/dist/index.js +285 -270
  4. package/package.json +20 -19
package/dist/index.js CHANGED
@@ -21,54 +21,66 @@ import { default as default19 } from "@eslint-community/eslint-plugin-eslint-com
21
21
  import { default as default20 } from "eslint-plugin-unicorn";
22
22
  import { default as default21 } from "eslint-plugin-de-morgan";
23
23
  import { default as default22 } from "eslint-plugin-perfectionist";
24
+ import { default as default23 } from "eslint-plugin-jsdoc";
24
25
 
25
- // configs/javascript.ts
26
- var isProduction = process.env.NODE_ENV === "production";
27
- var rules = {
28
- "no-var": "error",
29
- "no-console": isProduction ? "warn" : "off",
30
- "no-debugger": isProduction ? "warn" : "off",
31
- "no-eval": "error",
32
- "no-loop-func": "error",
33
- "no-dupe-class-members": "error",
34
- "no-duplicate-imports": "error",
35
- "object-shorthand": "error",
36
- "prefer-const": "error",
37
- "prefer-template": "error",
38
- eqeqeq: "error"
39
- };
40
- var jsConfigs = [
26
+ // configs/comments.ts
27
+ var commentsConfigs = [
41
28
  {
42
- name: "component-hook/javascript",
29
+ ...default19.recommended,
30
+ name: "component-hook/comments/recommended"
31
+ },
32
+ {
33
+ name: "component-hook/comments",
43
34
  rules: {
44
- ...default3.configs.recommended.rules,
45
- ...rules
35
+ "@eslint-community/eslint-comments/disable-enable-pair": ["error", { allowWholeFile: true }]
46
36
  }
47
37
  }
48
38
  ];
49
39
 
50
- // configs/typescript.ts
51
- var rules2 = {
52
- "@typescript-eslint/ban-ts-comment": "off",
53
- "@typescript-eslint/no-explicit-any": "off",
54
- "@typescript-eslint/no-unsafe-function-type": "off",
55
- "@typescript-eslint/no-shadow": "error",
56
- "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "_" }],
57
- "@typescript-eslint/no-unused-expressions": [
58
- "error",
59
- {
60
- allowShortCircuit: true,
61
- allowTaggedTemplates: true,
62
- allowTernary: true
63
- }
40
+ // configs/de-morgan.ts
41
+ var deMorganConfig = {
42
+ ...default21.configs.recommended,
43
+ name: "component-hook/de-morgan"
44
+ };
45
+
46
+ // configs/ignores.ts
47
+ var ignores = {
48
+ name: "component-hook/ignores",
49
+ ignores: [
50
+ "**/node_modules",
51
+ "**/dist",
52
+ "**/pnpm-lock.yaml",
53
+ "**/yarn.lock",
54
+ "**/package-lock.json",
55
+ "**/bun.lockb",
56
+ "output",
57
+ "**/coverage",
58
+ "**/playwright-report",
59
+ "**/temp",
60
+ "**/fixtures",
61
+ "**/.vitepress/cache",
62
+ "**/.nuxt",
63
+ "**/.vercel",
64
+ "**/.changeset",
65
+ "**/.idea",
66
+ "**/.output",
67
+ "**/.vite-inspect",
68
+ "**/.nitro",
69
+ "**/CHANGELOG*.md",
70
+ "**/*.min.*",
71
+ "**/LICENSE*",
72
+ "**/__snapshots__",
73
+ "**/auto-import?(s).d.ts",
74
+ "**/components.d.ts",
75
+ "**/vite-env.d.ts",
76
+ "**/shims-vue.d.ts",
77
+ "**/.turbo",
78
+ "**/mockServiceWorker.js"
64
79
  ]
65
80
  };
66
- var typescriptConfigs = default4.config({
67
- extends: [...default4.configs.recommended],
68
- files: ["**/*.ts", "**/*.tsx"],
69
- name: "component-hook/typescript",
70
- rules: rules2
71
- });
81
+
82
+ // constants.ts
83
+ var SRC_EXT = "?([cm])[jt]s?(x)";
72
84
 
73
85
  // configs/import.ts
74
86
  var plugins = {
@@ -103,9 +115,9 @@ var importConfigs = [
103
115
  files: [
104
116
  "**/*.d.ts",
105
117
  "**/*.md/**",
106
- `**/*config*.?([cm])[jt]s?(x)`,
107
- `**/{views,pages,routes,middleware,plugins,api}/**/*.?([cm])[jt]s?(x)`,
108
- `**/{index,vite,esbuild,rollup,rolldown,webpack,rspack,farm}.ts`
118
+ `**/*config*.${SRC_EXT}`,
119
+ `**/{views,pages,routes,middleware,plugins,api}/**/*.${SRC_EXT}`,
120
+ `**/{index,vite,esbuild,rollup,rolldown,webpack,rspack,farm,unloader}.${SRC_EXT}`
109
121
  ],
110
122
  plugins,
111
123
  languageOptions,
@@ -115,78 +127,53 @@ var importConfigs = [
115
127
  }
116
128
  ];
117
129
 
118
- // configs/unicorn.ts
119
- var unicornConfig = {
120
- name: "component-hook/unicorn",
130
+ // configs/javascript.ts
131
+ var isProduction = process.env.NODE_ENV === "production";
132
+ var rules = {
133
+ "no-var": "error",
134
+ "no-console": isProduction ? "warn" : "off",
135
+ "no-debugger": isProduction ? "warn" : "off",
136
+ "no-eval": "error",
137
+ "no-loop-func": "error",
138
+ "no-dupe-class-members": "error",
139
+ "no-duplicate-imports": "error",
140
+ "object-shorthand": "error",
141
+ "prefer-const": "error",
142
+ "prefer-template": "error",
143
+ eqeqeq: "error"
144
+ };
145
+ var jsConfigs = [
146
+ {
147
+ name: "component-hook/javascript",
148
+ rules: {
149
+ ...default3.configs.recommended.rules,
150
+ ...rules
151
+ }
152
+ }
153
+ ];
154
+
155
+ // configs/jsdoc.ts
156
+ var jsdocConfig = {
157
+ name: "component-hook/jsdoc",
121
158
  plugins: {
122
- unicorn: default20
159
+ jsdoc: default23
123
160
  },
124
161
  rules: {
125
- "unicorn/catch-error-name": "error",
126
- "unicorn/consistent-empty-array-spread": "error",
127
- "unicorn/consistent-existence-index-check": "error",
128
- "unicorn/consistent-function-scoping": ["error", { checkArrowFunctions: false }],
129
- "unicorn/consistent-date-clone": "error",
130
- "unicorn/custom-error-definition": "error",
131
- "unicorn/error-message": "error",
132
- "unicorn/escape-case": "error",
133
- "unicorn/filename-case": [
134
- "error",
135
- {
136
- cases: { kebabCase: true, pascalCase: true },
137
- ignore: [/^[A-Z]+\..*$/, /import_map\.json/]
138
- }
139
- ],
140
- "unicorn/new-for-builtins": "error",
141
- "unicorn/no-array-method-this-argument": "error",
142
- "unicorn/no-array-push-push": "error",
143
- "unicorn/no-await-in-promise-methods": "error",
144
- "unicorn/no-console-spaces": "error",
145
- "unicorn/no-for-loop": "error",
146
- "unicorn/no-hex-escape": "error",
147
- "unicorn/no-instanceof-builtins": "error",
148
- "unicorn/no-invalid-remove-event-listener": "error",
149
- "unicorn/no-lonely-if": "error",
150
- "unicorn/no-negation-in-equality-check": "error",
151
- "unicorn/no-new-array": "error",
152
- "unicorn/no-new-buffer": "error",
153
- "unicorn/no-single-promise-in-promise-methods": "error",
154
- "unicorn/no-static-only-class": "error",
155
- "unicorn/no-unnecessary-await": "error",
156
- "unicorn/no-zero-fractions": `error`,
157
- "unicorn/prefer-add-event-listener": "error",
158
- "unicorn/prefer-array-find": "error",
159
- "unicorn/prefer-array-flat-map": "error",
160
- "unicorn/prefer-array-index-of": "error",
161
- "unicorn/prefer-array-some": "error",
162
- "unicorn/prefer-at": "error",
163
- "unicorn/prefer-blob-reading-methods": "error",
164
- "unicorn/prefer-date-now": "error",
165
- "unicorn/prefer-dom-node-append": "error",
166
- "unicorn/prefer-dom-node-dataset": "error",
167
- "unicorn/prefer-dom-node-remove": "error",
168
- "unicorn/prefer-dom-node-text-content": "error",
169
- "unicorn/prefer-includes": "error",
170
- "unicorn/prefer-keyboard-event-key": "error",
171
- "unicorn/prefer-math-min-max": "error",
172
- "unicorn/prefer-math-trunc": "error",
173
- "unicorn/prefer-modern-dom-apis": "error",
174
- "unicorn/prefer-modern-math-apis": "error",
175
- "unicorn/prefer-negative-index": "error",
176
- "unicorn/prefer-node-protocol": "error",
177
- "unicorn/prefer-number-properties": "error",
178
- "unicorn/prefer-optional-catch-binding": "error",
179
- "unicorn/prefer-prototype-methods": "error",
180
- "unicorn/prefer-query-selector": "error",
181
- "unicorn/prefer-reflect-apply": "error",
182
- "unicorn/prefer-regexp-test": "error",
183
- "unicorn/prefer-string-raw": "error",
184
- "unicorn/prefer-string-replace-all": "error",
185
- "unicorn/prefer-string-slice": "error",
186
- "unicorn/prefer-string-starts-ends-with": "error",
187
- "unicorn/prefer-string-trim-start-end": "error",
188
- "unicorn/prefer-type-error": "error",
189
- "unicorn/throw-new-error": "error"
162
+ "jsdoc/check-access": "warn",
163
+ "jsdoc/check-param-names": "warn",
164
+ "jsdoc/check-property-names": "warn",
165
+ "jsdoc/check-types": "warn",
166
+ "jsdoc/empty-tags": "warn",
167
+ "jsdoc/implements-on-classes": "warn",
168
+ "jsdoc/no-defaults": "warn",
169
+ "jsdoc/no-multi-asterisks": "warn",
170
+ "jsdoc/require-param-name": "warn",
171
+ "jsdoc/require-property": "warn",
172
+ "jsdoc/require-property-description": "warn",
173
+ "jsdoc/require-property-name": "warn",
174
+ "jsdoc/require-returns-check": "warn",
175
+ "jsdoc/require-returns-description": "warn",
176
+ "jsdoc/require-yields-check": "warn"
190
177
  }
191
178
  };
192
179
 
@@ -223,18 +210,6 @@ var markdownConfigs = default18.configs.recommended.map((config) => {
223
210
  return baseConfig;
224
211
  });
225
212
 
226
- // configs/regexp.ts
227
- var regexpConfig = {
228
- ...default16.configs["flat/recommended"],
229
- name: "component-hook/regexp"
230
- };
231
-
232
- // configs/de-morgan.ts
233
- var deMorganConfig = {
234
- ...default21.configs.recommended,
235
- name: "component-hook/de-morgan"
236
- };
237
-
238
213
  // configs/perfectionist.ts
239
214
  var perfectionistConfig = {
240
215
  name: "component-hook/perfectionist/import",
@@ -270,34 +245,75 @@ var perfectionistConfig = {
270
245
  }
271
246
  };
272
247
 
248
+ // configs/playwright.ts
249
+ var playwrightConfig = {
250
+ ...default14.configs["flat/recommended"],
251
+ name: "component-hook/playwright"
252
+ };
253
+
273
254
  // configs/prettier.ts
274
- var rules3 = { ...default11.rules };
275
- delete rules3["vue/html-self-closing"];
255
+ var rules2 = { ...default11.rules };
256
+ delete rules2["vue/html-self-closing"];
276
257
  var prettierConfig = {
277
258
  name: "component-hook/prettier",
278
259
  plugins: {
279
260
  prettier: default10
280
261
  },
281
262
  rules: {
282
- ...rules3,
263
+ ...rules2,
283
264
  "prettier/prettier": "warn"
284
265
  }
285
266
  };
286
267
 
287
- // configs/comments.ts
288
- var commentsConfigs = [
268
+ // configs/react.ts
269
+ var reactConfigs = [
289
270
  {
290
- ...default19.recommended,
291
- name: "component-hook/comments/recommended"
271
+ ...default5.configs.flat?.recommended,
272
+ name: "component-hook/react",
273
+ settings: {
274
+ react: {
275
+ version: "detect"
276
+ }
277
+ },
278
+ rules: {
279
+ ...default5.configs.flat?.recommended.rules,
280
+ ...default5.configs.flat?.["jsx-runtime"].rules
281
+ }
292
282
  },
293
283
  {
294
- name: "component-hook/comments",
284
+ name: "component-hook/react-hooks",
285
+ files: ["**/*.[jt]s?(x)"],
286
+ plugins: {
287
+ "react-hooks": default6
288
+ },
295
289
  rules: {
296
- "@eslint-community/eslint-comments/disable-enable-pair": ["error", { allowWholeFile: true }]
290
+ ...default6.configs.recommended.rules
297
291
  }
292
+ },
293
+ {
294
+ ...default7.flatConfigs.recommended,
295
+ name: "component-hook/jsx-a11y"
298
296
  }
299
297
  ];
300
298
 
299
+ // configs/regexp.ts
300
+ var regexpConfig = {
301
+ ...default16.configs["flat/recommended"],
302
+ name: "component-hook/regexp"
303
+ };
304
+
305
+ // configs/security.ts
306
+ var securityConfig = {
307
+ name: "component-hook/security",
308
+ plugins: {
309
+ security: default13
310
+ },
311
+ rules: {
312
+ ...default13.configs.recommended.rules,
313
+ "security/detect-object-injection": "off"
314
+ }
315
+ };
316
+
301
317
  // configs/sonarjs.ts
302
318
  var plugins2 = {
303
319
  sonarjs: default12
@@ -325,48 +341,147 @@ var sonarjsConfigs = [
325
341
  }
326
342
  ];
327
343
 
328
- // configs/security.ts
329
- var securityConfig = {
330
- name: "component-hook/security",
331
- plugins: {
332
- security: default13
333
- },
344
+ // configs/testing-library.ts
345
+ var configs = default15.configs;
346
+ var plugins3 = {
347
+ "testing-library": default15
348
+ };
349
+ var testingLibraryDomConfig = {
350
+ name: "component-hook/testing-library/dom",
351
+ plugins: plugins3,
334
352
  rules: {
335
- ...default13.configs.recommended.rules,
336
- "security/detect-object-injection": "off"
353
+ ...configs["flat/dom"].rules
354
+ }
355
+ };
356
+ var testingLibraryAngularConfig = {
357
+ name: "component-hook/testing-library/angular",
358
+ plugins: plugins3,
359
+ rules: {
360
+ ...configs["flat/angular"].rules
361
+ }
362
+ };
363
+ var testingLibraryReactConfig = {
364
+ name: "component-hook/testing-library/react",
365
+ plugins: plugins3,
366
+ rules: {
367
+ ...configs["flat/react"].rules
368
+ }
369
+ };
370
+ var testingLibraryVueConfig = {
371
+ name: "component-hook/testing-library/vue",
372
+ plugins: plugins3,
373
+ rules: {
374
+ ...configs["flat/vue"].rules
375
+ }
376
+ };
377
+ var testingLibraryMarkoConfig = {
378
+ name: "component-hook/testing-library/marko",
379
+ plugins: plugins3,
380
+ rules: {
381
+ ...configs["flat/marko"].rules
337
382
  }
338
383
  };
339
384
 
340
- // configs/react.ts
341
- var reactConfigs = [
342
- {
343
- ...default5.configs.flat?.recommended,
344
- name: "component-hook/react",
345
- settings: {
346
- react: {
347
- version: "detect"
348
- }
349
- },
350
- rules: {
351
- ...default5.configs.flat?.recommended.rules,
352
- ...default5.configs.flat?.["jsx-runtime"].rules
353
- }
354
- },
355
- {
356
- name: "component-hook/react-hooks",
357
- files: ["**/*.[jt]s?(x)"],
358
- plugins: {
359
- "react-hooks": default6
360
- },
361
- rules: {
362
- ...default6.configs.recommended.rules
385
+ // configs/typescript.ts
386
+ var rules3 = {
387
+ "@typescript-eslint/ban-ts-comment": "off",
388
+ "@typescript-eslint/no-explicit-any": "off",
389
+ "@typescript-eslint/no-unsafe-function-type": "off",
390
+ "@typescript-eslint/no-shadow": "error",
391
+ "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "_" }],
392
+ "@typescript-eslint/no-unused-expressions": [
393
+ "error",
394
+ {
395
+ allowShortCircuit: true,
396
+ allowTaggedTemplates: true,
397
+ allowTernary: true
363
398
  }
399
+ ]
400
+ };
401
+ var typescriptConfigs = default4.config({
402
+ extends: [...default4.configs.recommended],
403
+ files: ["**/*.ts", "**/*.tsx"],
404
+ name: "component-hook/typescript",
405
+ rules: rules3
406
+ });
407
+
408
+ // configs/unicorn.ts
409
+ var unicornConfig = {
410
+ name: "component-hook/unicorn",
411
+ plugins: {
412
+ unicorn: default20
364
413
  },
365
- {
366
- ...default7.flatConfigs.recommended,
367
- name: "component-hook/jsx-a11y"
414
+ rules: {
415
+ "unicorn/catch-error-name": "error",
416
+ "unicorn/consistent-empty-array-spread": "error",
417
+ "unicorn/consistent-existence-index-check": "error",
418
+ "unicorn/consistent-function-scoping": ["error", { checkArrowFunctions: false }],
419
+ "unicorn/consistent-date-clone": "error",
420
+ "unicorn/custom-error-definition": "error",
421
+ "unicorn/error-message": "error",
422
+ "unicorn/escape-case": "error",
423
+ "unicorn/filename-case": [
424
+ "error",
425
+ {
426
+ cases: { kebabCase: true, pascalCase: true },
427
+ ignore: [/^[A-Z]+\..*$/, /import_map\.json/]
428
+ }
429
+ ],
430
+ "unicorn/new-for-builtins": "error",
431
+ "unicorn/no-array-method-this-argument": "error",
432
+ "unicorn/no-await-in-promise-methods": "error",
433
+ "unicorn/no-console-spaces": "error",
434
+ "unicorn/no-for-loop": "error",
435
+ "unicorn/no-hex-escape": "error",
436
+ "unicorn/no-instanceof-builtins": "error",
437
+ "unicorn/no-invalid-remove-event-listener": "error",
438
+ "unicorn/no-lonely-if": "error",
439
+ "unicorn/no-negation-in-equality-check": "error",
440
+ "unicorn/no-new-array": "error",
441
+ "unicorn/no-new-buffer": "error",
442
+ "unicorn/no-single-promise-in-promise-methods": "error",
443
+ "unicorn/no-static-only-class": "error",
444
+ "unicorn/no-unnecessary-array-flat-depth": "error",
445
+ "unicorn/no-unnecessary-array-splice-count": "error",
446
+ "unicorn/no-unnecessary-await": "error",
447
+ "unicorn/no-unnecessary-slice-end": "error",
448
+ "unicorn/no-zero-fractions": `error`,
449
+ "unicorn/prefer-add-event-listener": "error",
450
+ "unicorn/prefer-array-find": "error",
451
+ "unicorn/prefer-array-flat-map": "error",
452
+ "unicorn/prefer-array-index-of": "error",
453
+ "unicorn/prefer-array-some": "error",
454
+ "unicorn/prefer-at": "error",
455
+ "unicorn/prefer-blob-reading-methods": "error",
456
+ "unicorn/prefer-date-now": "error",
457
+ "unicorn/prefer-dom-node-append": "error",
458
+ "unicorn/prefer-dom-node-dataset": "error",
459
+ "unicorn/prefer-dom-node-remove": "error",
460
+ "unicorn/prefer-dom-node-text-content": "error",
461
+ "unicorn/prefer-includes": "error",
462
+ "unicorn/prefer-keyboard-event-key": "error",
463
+ "unicorn/prefer-math-min-max": "error",
464
+ "unicorn/prefer-math-trunc": "error",
465
+ "unicorn/prefer-modern-dom-apis": "error",
466
+ "unicorn/prefer-modern-math-apis": "error",
467
+ "unicorn/prefer-negative-index": "error",
468
+ "unicorn/prefer-node-protocol": "error",
469
+ "unicorn/prefer-number-properties": "error",
470
+ "unicorn/prefer-optional-catch-binding": "error",
471
+ "unicorn/prefer-prototype-methods": "error",
472
+ "unicorn/prefer-query-selector": "error",
473
+ "unicorn/prefer-reflect-apply": "error",
474
+ "unicorn/prefer-regexp-test": "error",
475
+ "unicorn/prefer-single-call": "error",
476
+ "unicorn/prefer-string-raw": "error",
477
+ "unicorn/prefer-string-replace-all": "error",
478
+ "unicorn/prefer-string-slice": "error",
479
+ "unicorn/prefer-string-starts-ends-with": "error",
480
+ "unicorn/prefer-string-trim-start-end": "error",
481
+ "unicorn/prefer-type-error": "error",
482
+ "unicorn/throw-new-error": "error"
368
483
  }
369
- ];
484
+ };
370
485
 
371
486
  // configs/vue.ts
372
487
  var recommendedRules = default8.configs["flat/recommended"].map((config) => config.rules).reduce((acc, rules5) => ({ ...acc, ...rules5 }), {});
@@ -414,7 +529,7 @@ var eslintConfigTypescript = default4.config({
414
529
  extends: extendsTypescript,
415
530
  files: ["**/*.vue"],
416
531
  name: "component-hook/vue/typescript",
417
- rules: rules2
532
+ rules: rules3
418
533
  });
419
534
  var vueConfigs = [
420
535
  ...eslintConfigTypescript,
@@ -464,89 +579,6 @@ var vueConfigs = [
464
579
  }
465
580
  ];
466
581
 
467
- // configs/playwright.ts
468
- var playwrightConfig = {
469
- ...default14.configs["flat/recommended"],
470
- name: "component-hook/playwright"
471
- };
472
-
473
- // configs/testing-library.ts
474
- var configs = default15.configs;
475
- var plugins3 = {
476
- "testing-library": default15
477
- };
478
- var testingLibraryDomConfig = {
479
- name: "component-hook/testing-library/dom",
480
- plugins: plugins3,
481
- rules: {
482
- ...configs["flat/dom"].rules
483
- }
484
- };
485
- var testingLibraryAngularConfig = {
486
- name: "component-hook/testing-library/angular",
487
- plugins: plugins3,
488
- rules: {
489
- ...configs["flat/angular"].rules
490
- }
491
- };
492
- var testingLibraryReactConfig = {
493
- name: "component-hook/testing-library/react",
494
- plugins: plugins3,
495
- rules: {
496
- ...configs["flat/react"].rules
497
- }
498
- };
499
- var testingLibraryVueConfig = {
500
- name: "component-hook/testing-library/vue",
501
- plugins: plugins3,
502
- rules: {
503
- ...configs["flat/vue"].rules
504
- }
505
- };
506
- var testingLibraryMarkoConfig = {
507
- name: "component-hook/testing-library/marko",
508
- plugins: plugins3,
509
- rules: {
510
- ...configs["flat/marko"].rules
511
- }
512
- };
513
-
514
- // configs/ignores.ts
515
- var ignores = {
516
- name: "component-hook/ignores",
517
- ignores: [
518
- "**/node_modules",
519
- "**/dist",
520
- "**/pnpm-lock.yaml",
521
- "**/yarn.lock",
522
- "**/package-lock.json",
523
- "**/bun.lockb",
524
- "output",
525
- "**/coverage",
526
- "**/playwright-report",
527
- "**/temp",
528
- "**/fixtures",
529
- "**/.vitepress/cache",
530
- "**/.nuxt",
531
- "**/.vercel",
532
- "**/.changeset",
533
- "**/.idea",
534
- "**/.output",
535
- "**/.vite-inspect",
536
- "**/.nitro",
537
- "**/CHANGELOG*.md",
538
- "**/*.min.*",
539
- "**/LICENSE*",
540
- "**/__snapshots__",
541
- "**/auto-import?(s).d.ts",
542
- "**/components.d.ts",
543
- "**/vite-env.d.ts",
544
- "**/shims-vue.d.ts",
545
- "**/.turbo",
546
- "**/mockServiceWorker.js"
547
- ]
548
- };
549
-
550
582
  // index.ts
551
583
  var basicConfigs = [
552
584
  ...jsConfigs,
@@ -554,6 +586,7 @@ var basicConfigs = [
554
586
  ...commentsConfigs,
555
587
  ...importConfigs,
556
588
  unicornConfig,
589
+ jsdocConfig,
557
590
  regexpConfig,
558
591
  deMorganConfig,
559
592
  perfectionistConfig,
@@ -588,26 +621,8 @@ var index_default = { configs: configs2 };
588
621
  var basicPreset = [prettierConfig, ...sonarjsConfigs, securityConfig, ...markdownConfigs];
589
622
  var reactPreset = [...basicConfigs, ...reactConfigs, ...basicPreset];
590
623
  var vuePreset = [...basicConfigs, ...vueConfigs, ...basicPreset];
591
- var vueSkyline = [
592
- ...vuePreset,
593
- {
594
- files: ["**/*.vue"],
595
- rules: {
596
- "vue/block-order": ["error", { order: ["template", "script", "style"] }]
597
- }
598
- },
599
- {
600
- files: ["**/__tests__/unit/**/*.test.[jt]s?(x)"],
601
- ...testingLibraryVueConfig
602
- },
603
- {
604
- files: ["**/__tests__/e2e/**/*.spec.[jt]s?(x)"],
605
- ...playwrightConfig
606
- }
607
- ];
608
624
  export {
609
625
  index_default as default,
610
626
  reactPreset,
611
- vuePreset,
612
- vueSkyline
627
+ vuePreset
613
628
  };