@biscuittin/eslint-config 0.4.9 → 0.4.11

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.mjs CHANGED
@@ -560,24 +560,32 @@ function imports(options = {}) {
560
560
  "sort-imports": "off",
561
561
  "perfectionist/sort-imports": ["error", {
562
562
  groups: [
563
- "type",
564
- ["builtin", "external"],
565
- "internal-type",
563
+ [
564
+ "type-builtin",
565
+ "type-external",
566
+ "type-subpath"
567
+ ],
568
+ [
569
+ "builtin",
570
+ "external",
571
+ "subpath"
572
+ ],
573
+ "type-internal",
566
574
  "internal",
567
575
  [
568
- "parent-type",
569
- "sibling-type",
570
- "index-type"
576
+ "type-parent",
577
+ "type-sibling",
578
+ "type-index"
571
579
  ],
572
580
  [
573
581
  "parent",
574
582
  "sibling",
575
583
  "index"
576
584
  ],
577
- "object",
578
- "unknown"
585
+ "style",
586
+ "import"
579
587
  ],
580
- tsconfigRootDir,
588
+ tsconfig: { rootDir: tsconfigRootDir },
581
589
  order: "asc",
582
590
  type: "natural"
583
591
  }],
@@ -1299,7 +1307,7 @@ const configStylistic = {
1299
1307
  "@eslint-react/prefer-destructuring-assignment": "error",
1300
1308
  "@eslint-react/prefer-namespace-import": "warn",
1301
1309
  "@eslint-react/jsx-shorthand-boolean": "error",
1302
- "@eslint-react/jsx-shorthand-fragment": "off",
1310
+ "@eslint-react/jsx-shorthand-fragment": -1,
1303
1311
  "@eslint-react/naming-convention/filename": "off",
1304
1312
  "@stylistic/jsx-closing-bracket-location": "error",
1305
1313
  "@stylistic/jsx-closing-tag-location": "error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@biscuittin/eslint-config",
3
3
  "type": "module",
4
- "version": "0.4.9",
4
+ "version": "0.4.11",
5
5
  "description": "A collection of ESLint configurations for Biscuit Tin projects.",
6
6
  "author": "Biscuit Tin <opensource@biscuitt.in>",
7
7
  "license": "MIT",
@@ -56,10 +56,10 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
59
- "@eslint-sukka/eslint-plugin-react-jsx-a11y": "^8.0.5",
60
- "@eslint/js": "^9.39.1",
59
+ "@eslint-sukka/eslint-plugin-react-jsx-a11y": "^8.0.6",
60
+ "@eslint/js": "^9.39.2",
61
61
  "@eslint/json": "^0.14.0",
62
- "@next/eslint-plugin-next": "^16.0.7",
62
+ "@next/eslint-plugin-next": "^16.1.0",
63
63
  "@package-json/types": "^0.0.12",
64
64
  "@stylistic/eslint-plugin": "^5.6.1",
65
65
  "eslint-config-flat-gitignore": "^2.1.0",
@@ -67,36 +67,36 @@
67
67
  "eslint-import-resolver-typescript": "^4.4.4",
68
68
  "eslint-plugin-antfu": "^3.1.1",
69
69
  "eslint-plugin-autofix": "^2.2.0",
70
- "eslint-plugin-better-tailwindcss": "^3.7.11",
70
+ "eslint-plugin-better-tailwindcss": "^3.8.0",
71
71
  "eslint-plugin-format": "1.0.1",
72
72
  "eslint-plugin-import-x": "^4.16.1",
73
73
  "eslint-plugin-jsonc": "^2.21.0",
74
74
  "eslint-plugin-n": "^17.23.1",
75
- "eslint-plugin-perfectionist": "^4.15.1",
75
+ "eslint-plugin-perfectionist": "^5.0.0",
76
76
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
77
- "eslint-plugin-react-dom": "^2.3.12",
77
+ "eslint-plugin-react-dom": "^2.3.13",
78
78
  "eslint-plugin-react-hooks": "^7.0.1",
79
- "eslint-plugin-react-hooks-extra": "^2.3.12",
80
- "eslint-plugin-react-naming-convention": "^2.3.12",
81
- "eslint-plugin-react-refresh": "^0.4.24",
82
- "eslint-plugin-react-web-api": "^2.3.12",
83
- "eslint-plugin-react-x": "^2.3.12",
79
+ "eslint-plugin-react-hooks-extra": "^2.3.13",
80
+ "eslint-plugin-react-naming-convention": "^2.3.13",
81
+ "eslint-plugin-react-refresh": "^0.4.26",
82
+ "eslint-plugin-react-web-api": "^2.3.13",
83
+ "eslint-plugin-react-x": "^2.3.13",
84
84
  "eslint-plugin-regexp": "^2.10.0",
85
85
  "eslint-plugin-unicorn": "^62.0.0",
86
86
  "eslint-plugin-unused-imports": "^4.3.0",
87
87
  "find-up": "^8.0.0",
88
88
  "globals": "^16.5.0",
89
- "jsonc-eslint-parser": "^2.4.1",
89
+ "jsonc-eslint-parser": "^2.4.2",
90
90
  "local-pkg": "^1.1.2",
91
91
  "ts-api-utils": "^2.1.0",
92
- "typescript-eslint": "^8.48.1"
92
+ "typescript-eslint": "^8.50.0"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@eslint/config-inspector": "^1.4.2",
96
- "@typescript-eslint/parser": "^8.48.1",
96
+ "@typescript-eslint/parser": "^8.50.0",
97
97
  "dprint": "^0.50.2",
98
- "eslint": "^9.39.1",
99
- "tailwindcss": "^4.1.17",
98
+ "eslint": "^9.39.2",
99
+ "tailwindcss": "^4.1.18",
100
100
  "typescript": "^5.9.3"
101
101
  },
102
102
  "scripts": {