@d-kuehn/eslint-config 40.7.2 → 40.8.0
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/README.md +1 -1
- package/dist/index.js +1 -22
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ export default combine(
|
|
|
76
76
|
| [vue() v10.8.0](https://github.com/vuejs/eslint-plugin-vue) | Vue.js rules | `.vue` |
|
|
77
77
|
| [vueAccessibility() v2.5.0](https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility) | Vue.js accessibility | `.vue` |
|
|
78
78
|
| [storybook() v10.2.15](https://github.com/storybookjs/eslint-plugin-storybook) | Storybook rules | `**/*.stories.{ts,tsx,js,jsx,mjs,cjs}` |
|
|
79
|
-
| [betterTailwindCss() v4.3.
|
|
79
|
+
| [betterTailwindCss() v4.3.2](https://github.com/schoero/eslint-plugin-better-tailwindcss) - Tailwind CSS v3, v4 | Tailwind CSS usage | `.vue`, `.js`, `.ts`, `.jsx`, `.tsx`, `.astro` |
|
|
80
80
|
|
|
81
81
|
### Testing Configurations
|
|
82
82
|
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import process from "node:process";
|
|
2
|
-
|
|
3
2
|
//#region src/helpers/index.ts
|
|
4
3
|
/**
|
|
5
4
|
* handles interoperability for modules by resolving either the default export or the module itself.
|
|
@@ -46,7 +45,6 @@ const combine = async (...configs) => {
|
|
|
46
45
|
const promises = configs.map((config) => Promise.resolve(config));
|
|
47
46
|
return (await Promise.all(promises)).flat();
|
|
48
47
|
};
|
|
49
|
-
|
|
50
48
|
//#endregion
|
|
51
49
|
//#region src/eslintConfigs/globs.ts
|
|
52
50
|
const GLOBS_EXCLUDE = [
|
|
@@ -114,7 +112,6 @@ const GLOBS_TESTS = [
|
|
|
114
112
|
`**/*.benchmark.${GLOB_SRC_EXT}`
|
|
115
113
|
];
|
|
116
114
|
const GLOBS_TESTS_E2E = [`**/*.e2e.${GLOB_SRC_EXT}`];
|
|
117
|
-
|
|
118
115
|
//#endregion
|
|
119
116
|
//#region src/eslintConfigs/astro.ts
|
|
120
117
|
/**
|
|
@@ -263,7 +260,6 @@ const astro = async (options = {}) => {
|
|
|
263
260
|
}
|
|
264
261
|
];
|
|
265
262
|
};
|
|
266
|
-
|
|
267
263
|
//#endregion
|
|
268
264
|
//#region src/eslintConfigs/betterTailwindCss.ts
|
|
269
265
|
/**
|
|
@@ -372,7 +368,6 @@ const betterTailwindCss = async (options = {}) => {
|
|
|
372
368
|
})
|
|
373
369
|
];
|
|
374
370
|
};
|
|
375
|
-
|
|
376
371
|
//#endregion
|
|
377
372
|
//#region src/eslintConfigs/defaults.ts
|
|
378
373
|
/**
|
|
@@ -417,7 +412,6 @@ const defaults = async (options = {}) => {
|
|
|
417
412
|
}
|
|
418
413
|
}];
|
|
419
414
|
};
|
|
420
|
-
|
|
421
415
|
//#endregion
|
|
422
416
|
//#region src/eslintConfigs/importX.ts
|
|
423
417
|
/**
|
|
@@ -508,7 +502,6 @@ const importX = async (options = {}) => {
|
|
|
508
502
|
}
|
|
509
503
|
}];
|
|
510
504
|
};
|
|
511
|
-
|
|
512
505
|
//#endregion
|
|
513
506
|
//#region src/eslintConfigs/jsdoc.ts
|
|
514
507
|
/**
|
|
@@ -547,7 +540,6 @@ const jsdoc = async (options = {}) => {
|
|
|
547
540
|
}
|
|
548
541
|
}];
|
|
549
542
|
};
|
|
550
|
-
|
|
551
543
|
//#endregion
|
|
552
544
|
//#region src/eslintConfigs/jsonc.ts
|
|
553
545
|
const DEFAULTS = {
|
|
@@ -621,7 +613,6 @@ const jsonc = async (options = {}) => {
|
|
|
621
613
|
}
|
|
622
614
|
];
|
|
623
615
|
};
|
|
624
|
-
|
|
625
616
|
//#endregion
|
|
626
617
|
//#region src/eslintConfigs/jsxA11y.ts
|
|
627
618
|
/**
|
|
@@ -668,7 +659,6 @@ const jsxA11y = async (options = {}) => {
|
|
|
668
659
|
}
|
|
669
660
|
];
|
|
670
661
|
};
|
|
671
|
-
|
|
672
662
|
//#endregion
|
|
673
663
|
//#region src/eslintConfigs/perfectionist.ts
|
|
674
664
|
/**
|
|
@@ -764,7 +754,6 @@ const perfectionist = async (options = {}) => {
|
|
|
764
754
|
}
|
|
765
755
|
}];
|
|
766
756
|
};
|
|
767
|
-
|
|
768
757
|
//#endregion
|
|
769
758
|
//#region src/eslintConfigs/playwright.ts
|
|
770
759
|
/**
|
|
@@ -810,7 +799,6 @@ const playwright = async (options = {}) => {
|
|
|
810
799
|
}
|
|
811
800
|
}];
|
|
812
801
|
};
|
|
813
|
-
|
|
814
802
|
//#endregion
|
|
815
803
|
//#region src/eslintConfigs/regexp.ts
|
|
816
804
|
/**
|
|
@@ -843,7 +831,6 @@ const regexp = async (options = {}) => {
|
|
|
843
831
|
}
|
|
844
832
|
}];
|
|
845
833
|
};
|
|
846
|
-
|
|
847
834
|
//#endregion
|
|
848
835
|
//#region src/eslintConfigs/storybook.ts
|
|
849
836
|
/**
|
|
@@ -874,7 +861,6 @@ const storybook = async (options = {}) => {
|
|
|
874
861
|
}
|
|
875
862
|
];
|
|
876
863
|
};
|
|
877
|
-
|
|
878
864
|
//#endregion
|
|
879
865
|
//#region src/eslintConfigs/stylistic.ts
|
|
880
866
|
/**
|
|
@@ -994,7 +980,6 @@ const stylistic = async (options = {}) => {
|
|
|
994
980
|
}
|
|
995
981
|
}];
|
|
996
982
|
};
|
|
997
|
-
|
|
998
983
|
//#endregion
|
|
999
984
|
//#region src/eslintConfigs/testingLibrary.ts
|
|
1000
985
|
/**
|
|
@@ -1027,7 +1012,6 @@ const testingLibrary = async (options = {}) => {
|
|
|
1027
1012
|
}
|
|
1028
1013
|
}];
|
|
1029
1014
|
};
|
|
1030
|
-
|
|
1031
1015
|
//#endregion
|
|
1032
1016
|
//#region src/eslintConfigs/typescript.ts
|
|
1033
1017
|
/**
|
|
@@ -1155,7 +1139,6 @@ const typescript = async (options = {}) => {
|
|
|
1155
1139
|
}
|
|
1156
1140
|
];
|
|
1157
1141
|
};
|
|
1158
|
-
|
|
1159
1142
|
//#endregion
|
|
1160
1143
|
//#region src/eslintConfigs/unicorn.ts
|
|
1161
1144
|
/**
|
|
@@ -1192,7 +1175,6 @@ const unicorn = async (options = {}) => {
|
|
|
1192
1175
|
}
|
|
1193
1176
|
}];
|
|
1194
1177
|
};
|
|
1195
|
-
|
|
1196
1178
|
//#endregion
|
|
1197
1179
|
//#region src/eslintConfigs/vitest.ts
|
|
1198
1180
|
/**
|
|
@@ -1245,7 +1227,6 @@ const vitest = async (options = {}) => {
|
|
|
1245
1227
|
}
|
|
1246
1228
|
}];
|
|
1247
1229
|
};
|
|
1248
|
-
|
|
1249
1230
|
//#endregion
|
|
1250
1231
|
//#region src/eslintConfigs/vue.ts
|
|
1251
1232
|
/**
|
|
@@ -1426,7 +1407,6 @@ const vue = async (options = {}) => {
|
|
|
1426
1407
|
}
|
|
1427
1408
|
];
|
|
1428
1409
|
};
|
|
1429
|
-
|
|
1430
1410
|
//#endregion
|
|
1431
1411
|
//#region src/eslintConfigs/vueAccessibility.ts
|
|
1432
1412
|
/**
|
|
@@ -1460,6 +1440,5 @@ const vueAccessibility = async (options = {}) => {
|
|
|
1460
1440
|
}
|
|
1461
1441
|
];
|
|
1462
1442
|
};
|
|
1463
|
-
|
|
1464
1443
|
//#endregion
|
|
1465
|
-
export { GLOBS_EXCLUDE, GLOBS_TESTS, GLOBS_TESTS_E2E, GLOB_ASTRO, GLOB_CSS, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STORYBOOK, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, astro, betterTailwindCss, combine, defaults, importX, jsdoc, jsonc, jsxA11y, perfectionist, playwright, regexp, storybook, stylistic, testingLibrary, typescript, unicorn, vitest, vue, vueAccessibility };
|
|
1444
|
+
export { GLOBS_EXCLUDE, GLOBS_TESTS, GLOBS_TESTS_E2E, GLOB_ASTRO, GLOB_CSS, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STORYBOOK, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, astro, betterTailwindCss, combine, defaults, importX, jsdoc, jsonc, jsxA11y, perfectionist, playwright, regexp, storybook, stylistic, testingLibrary, typescript, unicorn, vitest, vue, vueAccessibility };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d-kuehn/eslint-config",
|
|
3
|
-
"version": "40.
|
|
3
|
+
"version": "40.8.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"eslint": "10.0.2",
|
|
39
39
|
"eslint-flat-config-utils": "3.0.1",
|
|
40
40
|
"eslint-plugin-astro": "1.6.0",
|
|
41
|
-
"eslint-plugin-better-tailwindcss": "4.3.
|
|
41
|
+
"eslint-plugin-better-tailwindcss": "4.3.2",
|
|
42
42
|
"eslint-plugin-import-x": "4.16.1",
|
|
43
43
|
"eslint-plugin-jsdoc": "62.7.1",
|
|
44
44
|
"eslint-plugin-jsonc": "2.21.1",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@types/eslint-plugin-jsx-a11y": "6.10.1",
|
|
61
61
|
"@types/node": "24.11.0",
|
|
62
62
|
"@typescript-eslint/utils": "8.56.1",
|
|
63
|
-
"tsdown": "0.
|
|
63
|
+
"tsdown": "0.21.0",
|
|
64
64
|
"typescript": "5.9.3"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|