@debbl/eslint-config 3.6.1 → 3.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.cjs CHANGED
@@ -251,7 +251,8 @@ async function imports() {
251
251
  "import/newline-after-import": [
252
252
  "error",
253
253
  { considerComments: true, count: 1 }
254
- ]
254
+ ],
255
+ "import/consistent-type-specifier-style": ["error", "prefer-top-level"]
255
256
  }
256
257
  }
257
258
  ];
@@ -727,15 +728,24 @@ async function perfectionist() {
727
728
  groups: [
728
729
  "builtin",
729
730
  "external",
730
- "type",
731
- ["internal", "internal-type"],
732
- ["parent", "sibling", "index"],
733
- ["parent-type", "sibling-type", "index-type"],
731
+ "internal",
732
+ "parent",
733
+ "sibling",
734
734
  "side-effect",
735
+ "side-effect-style",
736
+ "index",
735
737
  "object",
738
+ "style",
739
+ "builtin-type",
740
+ "external-type",
741
+ "internal-type",
742
+ "parent-type",
743
+ "sibling-type",
744
+ "index-type",
745
+ "type",
736
746
  "unknown"
737
747
  ],
738
- newlinesBetween: "ignore",
748
+ newlinesBetween: "never",
739
749
  order: "asc",
740
750
  type: "natural"
741
751
  }
@@ -1237,6 +1247,7 @@ var typescript = async (options) => {
1237
1247
  "error",
1238
1248
  {
1239
1249
  disallowTypeAnnotations: false,
1250
+ fixStyle: "separate-type-imports",
1240
1251
  prefer: "type-imports"
1241
1252
  }
1242
1253
  ],
package/dist/index.js CHANGED
@@ -168,7 +168,8 @@ async function imports() {
168
168
  "import/newline-after-import": [
169
169
  "error",
170
170
  { considerComments: true, count: 1 }
171
- ]
171
+ ],
172
+ "import/consistent-type-specifier-style": ["error", "prefer-top-level"]
172
173
  }
173
174
  }
174
175
  ];
@@ -644,15 +645,24 @@ async function perfectionist() {
644
645
  groups: [
645
646
  "builtin",
646
647
  "external",
647
- "type",
648
- ["internal", "internal-type"],
649
- ["parent", "sibling", "index"],
650
- ["parent-type", "sibling-type", "index-type"],
648
+ "internal",
649
+ "parent",
650
+ "sibling",
651
651
  "side-effect",
652
+ "side-effect-style",
653
+ "index",
652
654
  "object",
655
+ "style",
656
+ "builtin-type",
657
+ "external-type",
658
+ "internal-type",
659
+ "parent-type",
660
+ "sibling-type",
661
+ "index-type",
662
+ "type",
653
663
  "unknown"
654
664
  ],
655
- newlinesBetween: "ignore",
665
+ newlinesBetween: "never",
656
666
  order: "asc",
657
667
  type: "natural"
658
668
  }
@@ -1154,6 +1164,7 @@ var typescript = async (options) => {
1154
1164
  "error",
1155
1165
  {
1156
1166
  disallowTypeAnnotations: false,
1167
+ fixStyle: "separate-type-imports",
1157
1168
  prefer: "type-imports"
1158
1169
  }
1159
1170
  ],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@debbl/eslint-config",
3
3
  "type": "module",
4
- "version": "3.6.1",
4
+ "version": "3.7.1",
5
5
  "description": "Brendan Dash's ESLint config",
6
6
  "author": "Debbl <me@aiwan.run> (https://github.com/Debbl/)",
7
7
  "license": "MIT",
@@ -28,21 +28,21 @@
28
28
  "dependencies": {
29
29
  "@eslint/markdown": "^6.1.0",
30
30
  "@next/eslint-plugin-next": "15.0.0-rc.0",
31
- "@typescript-eslint/eslint-plugin": "^8.6.0",
32
- "@typescript-eslint/parser": "^8.6.0",
31
+ "@typescript-eslint/eslint-plugin": "^8.7.0",
32
+ "@typescript-eslint/parser": "^8.7.0",
33
33
  "eslint-config-prettier": "^9.1.0",
34
34
  "eslint-plugin-eslint-comments": "^3.2.0",
35
- "eslint-plugin-import-x": "^4.2.1",
35
+ "eslint-plugin-import-x": "^4.3.0",
36
36
  "eslint-plugin-jsdoc": "^50.2.4",
37
37
  "eslint-plugin-jsonc": "^2.16.0",
38
38
  "eslint-plugin-mdx": "^3.1.5",
39
39
  "eslint-plugin-n": "^17.10.3",
40
40
  "eslint-plugin-no-only-tests": "^3.3.0",
41
- "eslint-plugin-perfectionist": "^3.6.0",
41
+ "eslint-plugin-perfectionist": "^3.7.0",
42
42
  "eslint-plugin-prettier": "^5.2.1",
43
43
  "eslint-plugin-react": "^7.36.1",
44
- "eslint-plugin-react-compiler": "0.0.0-experimental-b6997ec-20240909",
45
- "eslint-plugin-react-hooks": "0.0.0-experimental-e210d081-20240909",
44
+ "eslint-plugin-react-compiler": "0.0.0-experimental-92aaa43-20240924",
45
+ "eslint-plugin-react-hooks": "0.0.0-experimental-04bd67a4-20240924",
46
46
  "eslint-plugin-react-refresh": "^0.4.12",
47
47
  "eslint-plugin-solid": "^0.14.3",
48
48
  "eslint-plugin-tailwindcss": "^3.17.4",
@@ -55,7 +55,7 @@
55
55
  "globals": "^15.9.0",
56
56
  "jsonc-eslint-parser": "^2.4.0",
57
57
  "prettier": "^3.3.3",
58
- "prettier-plugin-tailwindcss": "^0.6.6",
58
+ "prettier-plugin-tailwindcss": "^0.6.8",
59
59
  "toml-eslint-parser": "^0.10.0",
60
60
  "vue-eslint-parser": "^9.4.3",
61
61
  "yaml-eslint-parser": "^1.2.3"
@@ -63,10 +63,10 @@
63
63
  "devDependencies": {
64
64
  "@eslint/config-inspector": "^0.5.4",
65
65
  "@types/eslint": "^9.6.1",
66
- "@types/node": "^22.5.5",
67
- "@types/react": "^18.3.7",
66
+ "@types/node": "^22.7.0",
67
+ "@types/react": "^18.3.9",
68
68
  "bumpp": "^9.5.2",
69
- "eslint": "^9.10.0",
69
+ "eslint": "^9.11.1",
70
70
  "execa": "^9.4.0",
71
71
  "fast-glob": "^3.3.2",
72
72
  "fs-extra": "^11.2.0",