@kitschpatrol/eslint-config 5.7.0 → 5.7.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.
package/dist/index.js CHANGED
@@ -564,6 +564,9 @@ var jsdocCommentsRecommendedTypescriptFlavorRules = {
564
564
  "jsdoc/no-restricted-syntax": "off",
565
565
  "jsdoc/no-types": "off",
566
566
  "jsdoc/no-undefined-types": "off",
567
+ "jsdoc/prefer-import-tag": "off",
568
+ "jsdoc/reject-any-type": "warn",
569
+ "jsdoc/reject-function-type": "warn",
567
570
  "jsdoc/require-asterisk-prefix": "off",
568
571
  "jsdoc/require-description": "off",
569
572
  "jsdoc/require-description-complete-sentence": "off",
@@ -571,6 +574,8 @@ var jsdocCommentsRecommendedTypescriptFlavorRules = {
571
574
  "jsdoc/require-file-overview": "off",
572
575
  "jsdoc/require-hyphen-before-param-description": "off",
573
576
  "jsdoc/require-jsdoc": "warn",
577
+ "jsdoc/require-next-description": "off",
578
+ "jsdoc/require-next-type": "warn",
574
579
  "jsdoc/require-param": "warn",
575
580
  "jsdoc/require-param-description": "warn",
576
581
  "jsdoc/require-param-name": "warn",
@@ -583,13 +588,20 @@ var jsdocCommentsRecommendedTypescriptFlavorRules = {
583
588
  "jsdoc/require-returns-check": "warn",
584
589
  "jsdoc/require-returns-description": "warn",
585
590
  "jsdoc/require-returns-type": "warn",
591
+ "jsdoc/require-tags": "off",
586
592
  "jsdoc/require-template": "off",
593
+ "jsdoc/require-template-description": "off",
587
594
  "jsdoc/require-throws": "off",
595
+ "jsdoc/require-throws-description": "off",
596
+ "jsdoc/require-throws-type": "warn",
588
597
  "jsdoc/require-yields": "warn",
589
598
  "jsdoc/require-yields-check": "warn",
599
+ "jsdoc/require-yields-description": "off",
600
+ "jsdoc/require-yields-type": "warn",
590
601
  "jsdoc/sort-tags": "off",
591
602
  "jsdoc/tag-lines": "warn",
592
603
  "jsdoc/text-escaping": "off",
604
+ "jsdoc/type-formatting": "off",
593
605
  "jsdoc/valid-types": "warn"
594
606
  // End expansion
595
607
  };
@@ -625,6 +637,9 @@ var jsdocCommentsRecommendedTypescriptRules = {
625
637
  "jsdoc/no-restricted-syntax": "off",
626
638
  "jsdoc/no-types": "warn",
627
639
  "jsdoc/no-undefined-types": "off",
640
+ "jsdoc/prefer-import-tag": "off",
641
+ "jsdoc/reject-any-type": "warn",
642
+ "jsdoc/reject-function-type": "warn",
628
643
  "jsdoc/require-asterisk-prefix": "off",
629
644
  "jsdoc/require-description": "off",
630
645
  "jsdoc/require-description-complete-sentence": "off",
@@ -632,6 +647,8 @@ var jsdocCommentsRecommendedTypescriptRules = {
632
647
  "jsdoc/require-file-overview": "off",
633
648
  "jsdoc/require-hyphen-before-param-description": "off",
634
649
  "jsdoc/require-jsdoc": "warn",
650
+ "jsdoc/require-next-description": "off",
651
+ "jsdoc/require-next-type": "warn",
635
652
  "jsdoc/require-param": "warn",
636
653
  "jsdoc/require-param-description": "warn",
637
654
  "jsdoc/require-param-name": "warn",
@@ -644,13 +661,20 @@ var jsdocCommentsRecommendedTypescriptRules = {
644
661
  "jsdoc/require-returns-check": "warn",
645
662
  "jsdoc/require-returns-description": "warn",
646
663
  "jsdoc/require-returns-type": "off",
664
+ "jsdoc/require-tags": "off",
647
665
  "jsdoc/require-template": "off",
666
+ "jsdoc/require-template-description": "off",
648
667
  "jsdoc/require-throws": "off",
668
+ "jsdoc/require-throws-description": "off",
669
+ "jsdoc/require-throws-type": "warn",
649
670
  "jsdoc/require-yields": "warn",
650
671
  "jsdoc/require-yields-check": "warn",
672
+ "jsdoc/require-yields-description": "off",
673
+ "jsdoc/require-yields-type": "warn",
651
674
  "jsdoc/sort-tags": "off",
652
675
  "jsdoc/tag-lines": "warn",
653
676
  "jsdoc/text-escaping": "off",
677
+ "jsdoc/type-formatting": "off",
654
678
  "jsdoc/valid-types": "warn"
655
679
  // End expansion
656
680
  };
@@ -1343,7 +1367,7 @@ var prettierRules = {
1343
1367
  // src/presets/react.ts
1344
1368
  var reactRecommendedTypeCheckedRules = {
1345
1369
  // Begin expansion '@eslint-react/eslint-plugin' 'recommended-type-checked'
1346
- "react/jsx-key-before-spread": "warn",
1370
+ "react/jsx-no-comment-textnodes": "warn",
1347
1371
  "react/jsx-no-duplicate-props": "off",
1348
1372
  "react/jsx-uses-react": "off",
1349
1373
  "react/jsx-uses-vars": "off",
@@ -1355,7 +1379,6 @@ var reactRecommendedTypeCheckedRules = {
1355
1379
  "react/no-children-only": "warn",
1356
1380
  "react/no-children-to-array": "warn",
1357
1381
  "react/no-clone-element": "warn",
1358
- "react/no-comment-textnodes": "warn",
1359
1382
  "react/no-component-will-mount": "error",
1360
1383
  "react/no-component-will-receive-props": "error",
1361
1384
  "react/no-component-will-update": "error",
@@ -1363,19 +1386,19 @@ var reactRecommendedTypeCheckedRules = {
1363
1386
  "react/no-create-ref": "error",
1364
1387
  "react/no-default-props": "error",
1365
1388
  "react/no-direct-mutation-state": "error",
1366
- "react/no-duplicate-key": "warn",
1389
+ "react/no-duplicate-key": "error",
1367
1390
  "react/no-forward-ref": "warn",
1368
1391
  "react/no-implicit-key": "warn",
1369
1392
  "react/no-missing-key": "error",
1370
- "react/no-misused-capture-owner-stack": "error",
1371
1393
  "react/no-nested-component-definitions": "error",
1372
- "react/no-nested-lazy-component-declarations": "warn",
1394
+ "react/no-nested-lazy-component-declarations": "error",
1373
1395
  "react/no-prop-types": "error",
1374
1396
  "react/no-redundant-should-component-update": "error",
1375
1397
  "react/no-set-state-in-component-did-mount": "warn",
1376
1398
  "react/no-set-state-in-component-did-update": "warn",
1377
1399
  "react/no-set-state-in-component-will-update": "warn",
1378
1400
  "react/no-string-refs": "error",
1401
+ "react/no-unnecessary-use-prefix": "warn",
1379
1402
  "react/no-unsafe-component-will-mount": "warn",
1380
1403
  "react/no-unsafe-component-will-receive-props": "warn",
1381
1404
  "react/no-unsafe-component-will-update": "warn",
@@ -1385,6 +1408,7 @@ var reactRecommendedTypeCheckedRules = {
1385
1408
  "react/no-unused-state": "warn",
1386
1409
  "react/no-use-context": "warn",
1387
1410
  "react/no-useless-forward-ref": "warn",
1411
+ "react/prefer-use-state-lazy-initialization": "warn",
1388
1412
  "react-dom/no-dangerously-set-innerhtml": "warn",
1389
1413
  "react-dom/no-dangerously-set-innerhtml-with-children": "error",
1390
1414
  "react-dom/no-find-dom-node": "error",
@@ -1404,17 +1428,17 @@ var reactRecommendedTypeCheckedRules = {
1404
1428
  "react-web-api/no-leaked-interval": "warn",
1405
1429
  "react-web-api/no-leaked-resize-observer": "warn",
1406
1430
  "react-web-api/no-leaked-timeout": "warn",
1407
- "react-hooks-extra/no-direct-set-state-in-use-effect": "warn",
1408
- "react-hooks-extra/no-unnecessary-use-prefix": "warn",
1409
- "react-hooks-extra/prefer-use-state-lazy-initialization": "warn",
1410
1431
  "react-naming-convention/context-name": "warn",
1432
+ "react-dom/no-string-style-prop": "off",
1411
1433
  "react-dom/no-unknown-property": "off",
1412
- "react/no-leaked-conditional-rendering": "warn"
1434
+ "react/no-leaked-conditional-rendering": "warn",
1435
+ "react/no-unused-props": "warn"
1413
1436
  // End expansion
1414
1437
  };
1415
1438
  var reactDisableTypeCheckedRules = {
1416
1439
  // Begin expansion '@eslint-react/eslint-plugin' 'disable-type-checked'
1417
1440
  "react/no-leaked-conditional-rendering": "off",
1441
+ "react/no-unused-props": "off",
1418
1442
  "react/prefer-read-only-props": "off"
1419
1443
  // End expansion
1420
1444
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/eslint-config",
3
- "version": "5.7.0",
3
+ "version": "5.7.1",
4
4
  "description": "ESLint configuration for @kitschpatrol/shared-config.",
5
5
  "keywords": [
6
6
  "shared-config",
@@ -43,57 +43,57 @@
43
43
  ],
44
44
  "dependencies": {
45
45
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
46
- "@eslint-react/eslint-plugin": "^1.53.0",
47
- "@html-eslint/eslint-plugin": "^0.46.2",
48
- "@html-eslint/parser": "^0.46.2",
46
+ "@eslint-react/eslint-plugin": "^2.0.1",
47
+ "@html-eslint/eslint-plugin": "^0.47.0",
48
+ "@html-eslint/parser": "^0.47.0",
49
49
  "@pinojs/json-colorizer": "^4.0.0",
50
- "@typescript-eslint/eslint-plugin": "^8.42.0",
51
- "@typescript-eslint/parser": "^8.42.0",
52
- "@vitest/eslint-plugin": "^1.3.9",
50
+ "@typescript-eslint/eslint-plugin": "^8.44.1",
51
+ "@typescript-eslint/parser": "^8.44.1",
52
+ "@vitest/eslint-plugin": "^1.3.13",
53
53
  "astro-eslint-parser": "^1.2.2",
54
- "eslint": "^9.35.0",
54
+ "eslint": "^9.36.0",
55
55
  "eslint-config-flat-gitignore": "^2.1.0",
56
- "eslint-flat-config-utils": "^2.1.1",
56
+ "eslint-flat-config-utils": "^2.1.4",
57
57
  "eslint-import-resolver-typescript": "^4.4.4",
58
58
  "eslint-mdx": "^3.6.2",
59
59
  "eslint-plugin-astro": "^1.3.1",
60
- "eslint-plugin-depend": "^1.2.0",
60
+ "eslint-plugin-depend": "^1.3.1",
61
61
  "eslint-plugin-html": "^8.1.3",
62
62
  "eslint-plugin-import-x": "^4.16.1",
63
- "eslint-plugin-jsdoc": "^55.0.0",
63
+ "eslint-plugin-jsdoc": "^60.5.0",
64
64
  "eslint-plugin-jsonc": "^2.20.1",
65
65
  "eslint-plugin-jsx-a11y": "^6.10.2",
66
66
  "eslint-plugin-mdx": "^3.6.2",
67
- "eslint-plugin-n": "^17.21.3",
67
+ "eslint-plugin-n": "^17.23.1",
68
68
  "eslint-plugin-no-only-tests": "^3.3.0",
69
- "eslint-plugin-package-json": "^0.56.2",
69
+ "eslint-plugin-package-json": "^0.56.3",
70
70
  "eslint-plugin-perfectionist": "^4.15.0",
71
71
  "eslint-plugin-regexp": "^2.10.0",
72
- "eslint-plugin-svelte": "^3.12.2",
72
+ "eslint-plugin-svelte": "^3.12.4",
73
73
  "eslint-plugin-toml": "^0.12.0",
74
74
  "eslint-plugin-unicorn": "^61.0.2",
75
75
  "eslint-plugin-yml": "^1.18.0",
76
76
  "execa": "^9.6.0",
77
77
  "find-workspaces": "^0.3.1",
78
- "fs-extra": "^11.3.1",
79
- "globals": "^16.3.0",
80
- "jsonc-eslint-parser": "^2.4.0",
78
+ "fs-extra": "^11.3.2",
79
+ "globals": "^16.4.0",
80
+ "jsonc-eslint-parser": "^2.4.1",
81
81
  "local-pkg": "^1.1.2",
82
82
  "prettier": "^3.6.2",
83
83
  "sort-package-json": "^3.4.0",
84
- "svelte-eslint-parser": "^1.3.1",
84
+ "svelte-eslint-parser": "^1.3.3",
85
85
  "toml-eslint-parser": "^0.10.0",
86
86
  "yaml-eslint-parser": "^1.3.0"
87
87
  },
88
88
  "devDependencies": {
89
89
  "@types/eslint-config-prettier": "^6.11.3",
90
90
  "@types/eslint-plugin-jsx-a11y": "^6.10.0",
91
- "dot-prop": "^9.0.0",
91
+ "dot-prop": "^10.0.0",
92
92
  "eslint-config-prettier": "^10.1.8",
93
93
  "eslint-config-xo-typescript": "^9.0.0",
94
94
  "eslint-typegen": "^2.3.0",
95
- "globby": "^14.1.0",
96
- "svelte": "^5.38.7",
95
+ "globby": "^15.0.0",
96
+ "svelte": "^5.39.6",
97
97
  "tsup": "^8.5.0"
98
98
  },
99
99
  "engines": {