@debbl/eslint-config 3.8.1 → 3.8.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 (3) hide show
  1. package/dist/index.cjs +18 -23
  2. package/dist/index.js +18 -23
  3. package/package.json +21 -21
package/dist/index.cjs CHANGED
@@ -629,7 +629,7 @@ var markdown = async (options) => {
629
629
  }
630
630
  },
631
631
  {
632
- name: "eslint/markdown/rules",
632
+ name: "eslint/markdown/disables",
633
633
  files: [
634
634
  GLOB_MARKDOWN_CODE,
635
635
  ...componentExts.map((ext) => `${GLOB_MARKDOWN}/**/*.${ext}`)
@@ -658,25 +658,22 @@ var markdown = async (options) => {
658
658
  "unicode-bom": "off",
659
659
  "unused-imports/no-unused-imports": "off",
660
660
  "unused-imports/no-unused-vars": "off",
661
- // Type aware rules
662
- ...{
663
- "@typescript-eslint/await-thenable": "off",
664
- "@typescript-eslint/dot-notation": "off",
665
- "@typescript-eslint/no-floating-promises": "off",
666
- "@typescript-eslint/no-for-in-array": "off",
667
- "@typescript-eslint/no-implied-eval": "off",
668
- "@typescript-eslint/no-misused-promises": "off",
669
- "@typescript-eslint/no-throw-literal": "off",
670
- "@typescript-eslint/no-unnecessary-type-assertion": "off",
671
- "@typescript-eslint/no-unsafe-argument": "off",
672
- "@typescript-eslint/no-unsafe-assignment": "off",
673
- "@typescript-eslint/no-unsafe-call": "off",
674
- "@typescript-eslint/no-unsafe-member-access": "off",
675
- "@typescript-eslint/no-unsafe-return": "off",
676
- "@typescript-eslint/restrict-plus-operands": "off",
677
- "@typescript-eslint/restrict-template-expressions": "off",
678
- "@typescript-eslint/unbound-method": "off"
679
- },
661
+ "@typescript-eslint/await-thenable": "off",
662
+ "@typescript-eslint/dot-notation": "off",
663
+ "@typescript-eslint/no-floating-promises": "off",
664
+ "@typescript-eslint/no-for-in-array": "off",
665
+ "@typescript-eslint/no-implied-eval": "off",
666
+ "@typescript-eslint/no-misused-promises": "off",
667
+ "@typescript-eslint/no-throw-literal": "off",
668
+ "@typescript-eslint/no-unnecessary-type-assertion": "off",
669
+ "@typescript-eslint/no-unsafe-argument": "off",
670
+ "@typescript-eslint/no-unsafe-assignment": "off",
671
+ "@typescript-eslint/no-unsafe-call": "off",
672
+ "@typescript-eslint/no-unsafe-member-access": "off",
673
+ "@typescript-eslint/no-unsafe-return": "off",
674
+ "@typescript-eslint/restrict-plus-operands": "off",
675
+ "@typescript-eslint/restrict-template-expressions": "off",
676
+ "@typescript-eslint/unbound-method": "off",
680
677
  ...overrides
681
678
  }
682
679
  }
@@ -1359,7 +1356,6 @@ async function unicorn() {
1359
1356
  var vue = async (options = {}) => {
1360
1357
  const { overrides = {}, typescript: isTypescript } = options;
1361
1358
  const [pluginVue, parserVue] = await Promise.all([
1362
- // @ts-expect-error missing types
1363
1359
  interopDefault(import("eslint-plugin-vue")),
1364
1360
  interopDefault(import("vue-eslint-parser"))
1365
1361
  ]);
@@ -1584,7 +1580,6 @@ var react = async (options) => {
1584
1580
  } = options;
1585
1581
  const [pluginReact, pluginReactHooks, pluginReactRefresh] = await Promise.all(
1586
1582
  [
1587
- // @ts-expect-error missing types
1588
1583
  interopDefault(import("eslint-plugin-react")),
1589
1584
  // @ts-expect-error missing types
1590
1585
  interopDefault(import("eslint-plugin-react-hooks")),
@@ -1624,7 +1619,7 @@ var react = async (options) => {
1624
1619
  }
1625
1620
  },
1626
1621
  rules: {
1627
- ...pluginReact.configs.recommended.rules,
1622
+ ...pluginReact.configs.flat.recommended.rules,
1628
1623
  ...pluginReactHooks.configs.recommended.rules,
1629
1624
  // React Refresh
1630
1625
  "react-refresh/only-export-components": "warn",
package/dist/index.js CHANGED
@@ -546,7 +546,7 @@ var markdown = async (options) => {
546
546
  }
547
547
  },
548
548
  {
549
- name: "eslint/markdown/rules",
549
+ name: "eslint/markdown/disables",
550
550
  files: [
551
551
  GLOB_MARKDOWN_CODE,
552
552
  ...componentExts.map((ext) => `${GLOB_MARKDOWN}/**/*.${ext}`)
@@ -575,25 +575,22 @@ var markdown = async (options) => {
575
575
  "unicode-bom": "off",
576
576
  "unused-imports/no-unused-imports": "off",
577
577
  "unused-imports/no-unused-vars": "off",
578
- // Type aware rules
579
- ...{
580
- "@typescript-eslint/await-thenable": "off",
581
- "@typescript-eslint/dot-notation": "off",
582
- "@typescript-eslint/no-floating-promises": "off",
583
- "@typescript-eslint/no-for-in-array": "off",
584
- "@typescript-eslint/no-implied-eval": "off",
585
- "@typescript-eslint/no-misused-promises": "off",
586
- "@typescript-eslint/no-throw-literal": "off",
587
- "@typescript-eslint/no-unnecessary-type-assertion": "off",
588
- "@typescript-eslint/no-unsafe-argument": "off",
589
- "@typescript-eslint/no-unsafe-assignment": "off",
590
- "@typescript-eslint/no-unsafe-call": "off",
591
- "@typescript-eslint/no-unsafe-member-access": "off",
592
- "@typescript-eslint/no-unsafe-return": "off",
593
- "@typescript-eslint/restrict-plus-operands": "off",
594
- "@typescript-eslint/restrict-template-expressions": "off",
595
- "@typescript-eslint/unbound-method": "off"
596
- },
578
+ "@typescript-eslint/await-thenable": "off",
579
+ "@typescript-eslint/dot-notation": "off",
580
+ "@typescript-eslint/no-floating-promises": "off",
581
+ "@typescript-eslint/no-for-in-array": "off",
582
+ "@typescript-eslint/no-implied-eval": "off",
583
+ "@typescript-eslint/no-misused-promises": "off",
584
+ "@typescript-eslint/no-throw-literal": "off",
585
+ "@typescript-eslint/no-unnecessary-type-assertion": "off",
586
+ "@typescript-eslint/no-unsafe-argument": "off",
587
+ "@typescript-eslint/no-unsafe-assignment": "off",
588
+ "@typescript-eslint/no-unsafe-call": "off",
589
+ "@typescript-eslint/no-unsafe-member-access": "off",
590
+ "@typescript-eslint/no-unsafe-return": "off",
591
+ "@typescript-eslint/restrict-plus-operands": "off",
592
+ "@typescript-eslint/restrict-template-expressions": "off",
593
+ "@typescript-eslint/unbound-method": "off",
597
594
  ...overrides
598
595
  }
599
596
  }
@@ -1276,7 +1273,6 @@ async function unicorn() {
1276
1273
  var vue = async (options = {}) => {
1277
1274
  const { overrides = {}, typescript: isTypescript } = options;
1278
1275
  const [pluginVue, parserVue] = await Promise.all([
1279
- // @ts-expect-error missing types
1280
1276
  interopDefault(import("eslint-plugin-vue")),
1281
1277
  interopDefault(import("vue-eslint-parser"))
1282
1278
  ]);
@@ -1501,7 +1497,6 @@ var react = async (options) => {
1501
1497
  } = options;
1502
1498
  const [pluginReact, pluginReactHooks, pluginReactRefresh] = await Promise.all(
1503
1499
  [
1504
- // @ts-expect-error missing types
1505
1500
  interopDefault(import("eslint-plugin-react")),
1506
1501
  // @ts-expect-error missing types
1507
1502
  interopDefault(import("eslint-plugin-react-hooks")),
@@ -1541,7 +1536,7 @@ var react = async (options) => {
1541
1536
  }
1542
1537
  },
1543
1538
  rules: {
1544
- ...pluginReact.configs.recommended.rules,
1539
+ ...pluginReact.configs.flat.recommended.rules,
1545
1540
  ...pluginReactHooks.configs.recommended.rules,
1546
1541
  // React Refresh
1547
1542
  "react-refresh/only-export-components": "warn",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@debbl/eslint-config",
3
3
  "type": "module",
4
- "version": "3.8.1",
4
+ "version": "3.8.2",
5
5
  "description": "Brendan Dash's ESLint config",
6
6
  "author": "Debbl <me@aiwan.run> (https://github.com/Debbl/)",
7
7
  "license": "MIT",
@@ -26,33 +26,33 @@
26
26
  "eslint": ">=8.40.0"
27
27
  },
28
28
  "dependencies": {
29
- "@eslint/markdown": "^6.1.0",
29
+ "@eslint/markdown": "^6.2.0",
30
30
  "@next/eslint-plugin-next": "15.0.0-rc.0",
31
- "@typescript-eslint/eslint-plugin": "^8.7.0",
32
- "@typescript-eslint/parser": "^8.7.0",
31
+ "@typescript-eslint/eslint-plugin": "^8.9.0",
32
+ "@typescript-eslint/parser": "^8.9.0",
33
33
  "eslint-config-prettier": "^9.1.0",
34
34
  "eslint-plugin-eslint-comments": "^3.2.0",
35
- "eslint-plugin-import-x": "^4.3.0",
36
- "eslint-plugin-jsdoc": "^50.2.4",
35
+ "eslint-plugin-import-x": "^4.3.1",
36
+ "eslint-plugin-jsdoc": "^50.4.1",
37
37
  "eslint-plugin-jsonc": "^2.16.0",
38
38
  "eslint-plugin-mdx": "^3.1.5",
39
- "eslint-plugin-n": "^17.10.3",
39
+ "eslint-plugin-n": "^17.11.1",
40
40
  "eslint-plugin-no-only-tests": "^3.3.0",
41
- "eslint-plugin-perfectionist": "^3.7.0",
41
+ "eslint-plugin-perfectionist": "^3.9.0",
42
42
  "eslint-plugin-prettier": "^5.2.1",
43
- "eslint-plugin-react": "^7.36.1",
44
- "eslint-plugin-react-compiler": "0.0.0-experimental-92aaa43-20240924",
45
- "eslint-plugin-react-hooks": "0.0.0-experimental-04bd67a4-20240924",
43
+ "eslint-plugin-react": "^7.37.1",
44
+ "eslint-plugin-react-compiler": "0.0.0-experimental-605e95c-20241015",
45
+ "eslint-plugin-react-hooks": "^5.0.0",
46
46
  "eslint-plugin-react-refresh": "^0.4.12",
47
47
  "eslint-plugin-solid": "^0.14.3",
48
- "eslint-plugin-tailwindcss": "^3.17.4",
48
+ "eslint-plugin-tailwindcss": "^3.17.5",
49
49
  "eslint-plugin-toml": "^0.11.1",
50
- "eslint-plugin-unicorn": "^55.0.0",
50
+ "eslint-plugin-unicorn": "^56.0.0",
51
51
  "eslint-plugin-unused-imports": "^4.1.4",
52
52
  "eslint-plugin-vitest": "^0.5.4",
53
- "eslint-plugin-vue": "^9.28.0",
53
+ "eslint-plugin-vue": "^9.29.0",
54
54
  "eslint-plugin-yml": "^1.14.0",
55
- "globals": "^15.9.0",
55
+ "globals": "^15.11.0",
56
56
  "jsonc-eslint-parser": "^2.4.0",
57
57
  "prettier": "^3.3.3",
58
58
  "prettier-plugin-tailwindcss": "^0.6.8",
@@ -63,18 +63,18 @@
63
63
  "devDependencies": {
64
64
  "@eslint/config-inspector": "^0.5.4",
65
65
  "@types/eslint": "^9.6.1",
66
- "@types/node": "^22.7.0",
67
- "@types/react": "^18.3.9",
68
- "bumpp": "^9.5.2",
69
- "eslint": "^9.11.1",
66
+ "@types/node": "^22.7.5",
67
+ "@types/react": "^18.3.11",
68
+ "bumpp": "^9.7.1",
69
+ "eslint": "^9.12.0",
70
70
  "execa": "^9.4.0",
71
71
  "fast-glob": "^3.3.2",
72
72
  "fs-extra": "^11.2.0",
73
73
  "react": "^18.3.1",
74
74
  "sucrase": "^3.35.0",
75
75
  "tsup": "^8.3.0",
76
- "typescript": "^5.6.2",
77
- "vitest": "^2.1.1"
76
+ "typescript": "^5.6.3",
77
+ "vitest": "^2.1.3"
78
78
  },
79
79
  "scripts": {
80
80
  "build": "tsup --format esm,cjs --clean --dts",