@component-hook/eslint-plugin 1.1.0 → 1.1.1

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 (3) hide show
  1. package/dist/index.d.ts +76 -1267
  2. package/dist/index.js +262 -274
  3. package/package.json +13 -13
package/dist/index.js CHANGED
@@ -22,53 +22,64 @@ 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
24
 
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 = [
25
+ // configs/comments.ts
26
+ var commentsConfigs = [
41
27
  {
42
- name: "component-hook/javascript",
28
+ ...default19.recommended,
29
+ name: "component-hook/comments/recommended"
30
+ },
31
+ {
32
+ name: "component-hook/comments",
43
33
  rules: {
44
- ...default3.configs.recommended.rules,
45
- ...rules
34
+ "@eslint-community/eslint-comments/disable-enable-pair": ["error", { allowWholeFile: true }]
46
35
  }
47
36
  }
48
37
  ];
49
38
 
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
- }
39
+ // configs/de-morgan.ts
40
+ var deMorganConfig = {
41
+ ...default21.configs.recommended,
42
+ name: "component-hook/de-morgan"
43
+ };
44
+
45
+ // configs/ignores.ts
46
+ var ignores = {
47
+ name: "component-hook/ignores",
48
+ ignores: [
49
+ "**/node_modules",
50
+ "**/dist",
51
+ "**/pnpm-lock.yaml",
52
+ "**/yarn.lock",
53
+ "**/package-lock.json",
54
+ "**/bun.lockb",
55
+ "output",
56
+ "**/coverage",
57
+ "**/playwright-report",
58
+ "**/temp",
59
+ "**/fixtures",
60
+ "**/.vitepress/cache",
61
+ "**/.nuxt",
62
+ "**/.vercel",
63
+ "**/.changeset",
64
+ "**/.idea",
65
+ "**/.output",
66
+ "**/.vite-inspect",
67
+ "**/.nitro",
68
+ "**/CHANGELOG*.md",
69
+ "**/*.min.*",
70
+ "**/LICENSE*",
71
+ "**/__snapshots__",
72
+ "**/auto-import?(s).d.ts",
73
+ "**/components.d.ts",
74
+ "**/vite-env.d.ts",
75
+ "**/shims-vue.d.ts",
76
+ "**/.turbo",
77
+ "**/mockServiceWorker.js"
64
78
  ]
65
79
  };
66
- var typescriptConfigs = default4.config({
67
- extends: [...default4.configs.recommended],
68
- files: ["**/*.ts", "**/*.tsx"],
69
- name: "component-hook/typescript",
70
- rules: rules2
71
- });
80
+
81
+ // constants.ts
82
+ var SRC_EXT = "?([cm])[jt]s?(x)";
72
83
 
73
84
  // configs/import.ts
74
85
  var plugins = {
@@ -103,9 +114,9 @@ var importConfigs = [
103
114
  files: [
104
115
  "**/*.d.ts",
105
116
  "**/*.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`
117
+ `**/*config*.${SRC_EXT}`,
118
+ `**/{views,pages,routes,middleware,plugins,api}/**/*.${SRC_EXT}`,
119
+ `**/{index,vite,esbuild,rollup,rolldown,webpack,rspack,farm,unloader}.${SRC_EXT}`
109
120
  ],
110
121
  plugins,
111
122
  languageOptions,
@@ -115,80 +126,30 @@ var importConfigs = [
115
126
  }
116
127
  ];
117
128
 
118
- // configs/unicorn.ts
119
- var unicornConfig = {
120
- name: "component-hook/unicorn",
121
- plugins: {
122
- unicorn: default20
123
- },
124
- 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"
190
- }
129
+ // configs/javascript.ts
130
+ var isProduction = process.env.NODE_ENV === "production";
131
+ var rules = {
132
+ "no-var": "error",
133
+ "no-console": isProduction ? "warn" : "off",
134
+ "no-debugger": isProduction ? "warn" : "off",
135
+ "no-eval": "error",
136
+ "no-loop-func": "error",
137
+ "no-dupe-class-members": "error",
138
+ "no-duplicate-imports": "error",
139
+ "object-shorthand": "error",
140
+ "prefer-const": "error",
141
+ "prefer-template": "error",
142
+ eqeqeq: "error"
191
143
  };
144
+ var jsConfigs = [
145
+ {
146
+ name: "component-hook/javascript",
147
+ rules: {
148
+ ...default3.configs.recommended.rules,
149
+ ...rules
150
+ }
151
+ }
152
+ ];
192
153
 
193
154
  // configs/markdown.ts
194
155
  var markdownConfigs = default18.configs.recommended.map((config) => {
@@ -223,18 +184,6 @@ var markdownConfigs = default18.configs.recommended.map((config) => {
223
184
  return baseConfig;
224
185
  });
225
186
 
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
187
  // configs/perfectionist.ts
239
188
  var perfectionistConfig = {
240
189
  name: "component-hook/perfectionist/import",
@@ -270,34 +219,75 @@ var perfectionistConfig = {
270
219
  }
271
220
  };
272
221
 
222
+ // configs/playwright.ts
223
+ var playwrightConfig = {
224
+ ...default14.configs["flat/recommended"],
225
+ name: "component-hook/playwright"
226
+ };
227
+
273
228
  // configs/prettier.ts
274
- var rules3 = { ...default11.rules };
275
- delete rules3["vue/html-self-closing"];
229
+ var rules2 = { ...default11.rules };
230
+ delete rules2["vue/html-self-closing"];
276
231
  var prettierConfig = {
277
232
  name: "component-hook/prettier",
278
233
  plugins: {
279
234
  prettier: default10
280
235
  },
281
236
  rules: {
282
- ...rules3,
237
+ ...rules2,
283
238
  "prettier/prettier": "warn"
284
239
  }
285
240
  };
286
241
 
287
- // configs/comments.ts
288
- var commentsConfigs = [
242
+ // configs/react.ts
243
+ var reactConfigs = [
289
244
  {
290
- ...default19.recommended,
291
- name: "component-hook/comments/recommended"
245
+ ...default5.configs.flat?.recommended,
246
+ name: "component-hook/react",
247
+ settings: {
248
+ react: {
249
+ version: "detect"
250
+ }
251
+ },
252
+ rules: {
253
+ ...default5.configs.flat?.recommended.rules,
254
+ ...default5.configs.flat?.["jsx-runtime"].rules
255
+ }
292
256
  },
293
257
  {
294
- name: "component-hook/comments",
258
+ name: "component-hook/react-hooks",
259
+ files: ["**/*.[jt]s?(x)"],
260
+ plugins: {
261
+ "react-hooks": default6
262
+ },
295
263
  rules: {
296
- "@eslint-community/eslint-comments/disable-enable-pair": ["error", { allowWholeFile: true }]
264
+ ...default6.configs.recommended.rules
297
265
  }
266
+ },
267
+ {
268
+ ...default7.flatConfigs.recommended,
269
+ name: "component-hook/jsx-a11y"
298
270
  }
299
271
  ];
300
272
 
273
+ // configs/regexp.ts
274
+ var regexpConfig = {
275
+ ...default16.configs["flat/recommended"],
276
+ name: "component-hook/regexp"
277
+ };
278
+
279
+ // configs/security.ts
280
+ var securityConfig = {
281
+ name: "component-hook/security",
282
+ plugins: {
283
+ security: default13
284
+ },
285
+ rules: {
286
+ ...default13.configs.recommended.rules,
287
+ "security/detect-object-injection": "off"
288
+ }
289
+ };
290
+
301
291
  // configs/sonarjs.ts
302
292
  var plugins2 = {
303
293
  sonarjs: default12
@@ -325,48 +315,147 @@ var sonarjsConfigs = [
325
315
  }
326
316
  ];
327
317
 
328
- // configs/security.ts
329
- var securityConfig = {
330
- name: "component-hook/security",
331
- plugins: {
332
- security: default13
333
- },
318
+ // configs/testing-library.ts
319
+ var configs = default15.configs;
320
+ var plugins3 = {
321
+ "testing-library": default15
322
+ };
323
+ var testingLibraryDomConfig = {
324
+ name: "component-hook/testing-library/dom",
325
+ plugins: plugins3,
334
326
  rules: {
335
- ...default13.configs.recommended.rules,
336
- "security/detect-object-injection": "off"
327
+ ...configs["flat/dom"].rules
328
+ }
329
+ };
330
+ var testingLibraryAngularConfig = {
331
+ name: "component-hook/testing-library/angular",
332
+ plugins: plugins3,
333
+ rules: {
334
+ ...configs["flat/angular"].rules
335
+ }
336
+ };
337
+ var testingLibraryReactConfig = {
338
+ name: "component-hook/testing-library/react",
339
+ plugins: plugins3,
340
+ rules: {
341
+ ...configs["flat/react"].rules
342
+ }
343
+ };
344
+ var testingLibraryVueConfig = {
345
+ name: "component-hook/testing-library/vue",
346
+ plugins: plugins3,
347
+ rules: {
348
+ ...configs["flat/vue"].rules
349
+ }
350
+ };
351
+ var testingLibraryMarkoConfig = {
352
+ name: "component-hook/testing-library/marko",
353
+ plugins: plugins3,
354
+ rules: {
355
+ ...configs["flat/marko"].rules
337
356
  }
338
357
  };
339
358
 
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
359
+ // configs/typescript.ts
360
+ var rules3 = {
361
+ "@typescript-eslint/ban-ts-comment": "off",
362
+ "@typescript-eslint/no-explicit-any": "off",
363
+ "@typescript-eslint/no-unsafe-function-type": "off",
364
+ "@typescript-eslint/no-shadow": "error",
365
+ "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "_" }],
366
+ "@typescript-eslint/no-unused-expressions": [
367
+ "error",
368
+ {
369
+ allowShortCircuit: true,
370
+ allowTaggedTemplates: true,
371
+ allowTernary: true
363
372
  }
373
+ ]
374
+ };
375
+ var typescriptConfigs = default4.config({
376
+ extends: [...default4.configs.recommended],
377
+ files: ["**/*.ts", "**/*.tsx"],
378
+ name: "component-hook/typescript",
379
+ rules: rules3
380
+ });
381
+
382
+ // configs/unicorn.ts
383
+ var unicornConfig = {
384
+ name: "component-hook/unicorn",
385
+ plugins: {
386
+ unicorn: default20
364
387
  },
365
- {
366
- ...default7.flatConfigs.recommended,
367
- name: "component-hook/jsx-a11y"
388
+ rules: {
389
+ "unicorn/catch-error-name": "error",
390
+ "unicorn/consistent-empty-array-spread": "error",
391
+ "unicorn/consistent-existence-index-check": "error",
392
+ "unicorn/consistent-function-scoping": ["error", { checkArrowFunctions: false }],
393
+ "unicorn/consistent-date-clone": "error",
394
+ "unicorn/custom-error-definition": "error",
395
+ "unicorn/error-message": "error",
396
+ "unicorn/escape-case": "error",
397
+ "unicorn/filename-case": [
398
+ "error",
399
+ {
400
+ cases: { kebabCase: true, pascalCase: true },
401
+ ignore: [/^[A-Z]+\..*$/, /import_map\.json/]
402
+ }
403
+ ],
404
+ "unicorn/new-for-builtins": "error",
405
+ "unicorn/no-array-method-this-argument": "error",
406
+ "unicorn/no-await-in-promise-methods": "error",
407
+ "unicorn/no-console-spaces": "error",
408
+ "unicorn/no-for-loop": "error",
409
+ "unicorn/no-hex-escape": "error",
410
+ "unicorn/no-instanceof-builtins": "error",
411
+ "unicorn/no-invalid-remove-event-listener": "error",
412
+ "unicorn/no-lonely-if": "error",
413
+ "unicorn/no-negation-in-equality-check": "error",
414
+ "unicorn/no-new-array": "error",
415
+ "unicorn/no-new-buffer": "error",
416
+ "unicorn/no-single-promise-in-promise-methods": "error",
417
+ "unicorn/no-static-only-class": "error",
418
+ "unicorn/no-unnecessary-array-flat-depth": "error",
419
+ "unicorn/no-unnecessary-array-splice-count": "error",
420
+ "unicorn/no-unnecessary-await": "error",
421
+ "unicorn/no-unnecessary-slice-end": "error",
422
+ "unicorn/no-zero-fractions": `error`,
423
+ "unicorn/prefer-add-event-listener": "error",
424
+ "unicorn/prefer-array-find": "error",
425
+ "unicorn/prefer-array-flat-map": "error",
426
+ "unicorn/prefer-array-index-of": "error",
427
+ "unicorn/prefer-array-some": "error",
428
+ "unicorn/prefer-at": "error",
429
+ "unicorn/prefer-blob-reading-methods": "error",
430
+ "unicorn/prefer-date-now": "error",
431
+ "unicorn/prefer-dom-node-append": "error",
432
+ "unicorn/prefer-dom-node-dataset": "error",
433
+ "unicorn/prefer-dom-node-remove": "error",
434
+ "unicorn/prefer-dom-node-text-content": "error",
435
+ "unicorn/prefer-includes": "error",
436
+ "unicorn/prefer-keyboard-event-key": "error",
437
+ "unicorn/prefer-math-min-max": "error",
438
+ "unicorn/prefer-math-trunc": "error",
439
+ "unicorn/prefer-modern-dom-apis": "error",
440
+ "unicorn/prefer-modern-math-apis": "error",
441
+ "unicorn/prefer-negative-index": "error",
442
+ "unicorn/prefer-node-protocol": "error",
443
+ "unicorn/prefer-number-properties": "error",
444
+ "unicorn/prefer-optional-catch-binding": "error",
445
+ "unicorn/prefer-prototype-methods": "error",
446
+ "unicorn/prefer-query-selector": "error",
447
+ "unicorn/prefer-reflect-apply": "error",
448
+ "unicorn/prefer-regexp-test": "error",
449
+ "unicorn/prefer-single-call": "error",
450
+ "unicorn/prefer-string-raw": "error",
451
+ "unicorn/prefer-string-replace-all": "error",
452
+ "unicorn/prefer-string-slice": "error",
453
+ "unicorn/prefer-string-starts-ends-with": "error",
454
+ "unicorn/prefer-string-trim-start-end": "error",
455
+ "unicorn/prefer-type-error": "error",
456
+ "unicorn/throw-new-error": "error"
368
457
  }
369
- ];
458
+ };
370
459
 
371
460
  // configs/vue.ts
372
461
  var recommendedRules = default8.configs["flat/recommended"].map((config) => config.rules).reduce((acc, rules5) => ({ ...acc, ...rules5 }), {});
@@ -414,7 +503,7 @@ var eslintConfigTypescript = default4.config({
414
503
  extends: extendsTypescript,
415
504
  files: ["**/*.vue"],
416
505
  name: "component-hook/vue/typescript",
417
- rules: rules2
506
+ rules: rules3
418
507
  });
419
508
  var vueConfigs = [
420
509
  ...eslintConfigTypescript,
@@ -464,89 +553,6 @@ var vueConfigs = [
464
553
  }
465
554
  ];
466
555
 
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
556
  // index.ts
551
557
  var basicConfigs = [
552
558
  ...jsConfigs,
@@ -588,26 +594,8 @@ var index_default = { configs: configs2 };
588
594
  var basicPreset = [prettierConfig, ...sonarjsConfigs, securityConfig, ...markdownConfigs];
589
595
  var reactPreset = [...basicConfigs, ...reactConfigs, ...basicPreset];
590
596
  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
597
  export {
609
598
  index_default as default,
610
599
  reactPreset,
611
- vuePreset,
612
- vueSkyline
600
+ vuePreset
613
601
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@component-hook/eslint-plugin",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "ESLint config for component hook",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -33,28 +33,28 @@
33
33
  "eslint": "^9.15.0"
34
34
  },
35
35
  "dependencies": {
36
- "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
37
- "@eslint/compat": "^1.2.7",
38
- "@eslint/js": "^9.23.0",
39
- "eslint-config-prettier": "^10.1.1",
36
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
37
+ "@eslint/compat": "^1.2.9",
38
+ "@eslint/js": "^9.26.0",
39
+ "eslint-config-prettier": "^10.1.5",
40
40
  "eslint-plugin-de-morgan": "^1.2.1",
41
41
  "eslint-plugin-import": "^2.31.0",
42
42
  "eslint-plugin-jsx-a11y": "^6.10.2",
43
43
  "eslint-plugin-markdown": "^5.1.0",
44
- "eslint-plugin-perfectionist": "^4.11.0",
44
+ "eslint-plugin-perfectionist": "^4.12.3",
45
45
  "eslint-plugin-playwright": "^2.2.0",
46
- "eslint-plugin-prettier": "^5.2.3",
47
- "eslint-plugin-react": "^7.37.4",
46
+ "eslint-plugin-prettier": "^5.4.0",
47
+ "eslint-plugin-react": "^7.37.5",
48
48
  "eslint-plugin-react-hooks": "^5.2.0",
49
49
  "eslint-plugin-regexp": "^2.7.0",
50
50
  "eslint-plugin-security": "^3.0.1",
51
51
  "eslint-plugin-sonarjs": "^3.0.2",
52
52
  "eslint-plugin-testing-library": "^7.1.1",
53
- "eslint-plugin-unicorn": "^58.0.0",
54
- "eslint-plugin-vue": "^10.0.0",
55
- "globals": "^16.0.0",
56
- "typescript-eslint": "^8.26.1",
57
- "vue-eslint-parser": "^9.4.3"
53
+ "eslint-plugin-unicorn": "^59.0.1",
54
+ "eslint-plugin-vue": "^10.1.0",
55
+ "globals": "^16.1.0",
56
+ "typescript-eslint": "^8.32.1",
57
+ "vue-eslint-parser": "^10.1.3"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@eslint/config-inspector": "^1.0.2",