@lichthagel/eslint-config 1.0.35 → 1.0.37

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
@@ -379,14 +379,13 @@ const svelte = async (options = {}) => {
379
379
  //#endregion
380
380
  //#region src/configs/tailwindcss.ts
381
381
  const tailwindcss = async () => {
382
+ var _recommendedConfig$na;
382
383
  const { default: pluginTailwind } = await import("eslint-plugin-tailwindcss");
383
- return [...pluginTailwind.configs["flat/recommended"].map((config) => {
384
- var _config$name;
385
- return {
386
- ...config,
387
- name: (_config$name = config.name) === null || _config$name === void 0 ? void 0 : _config$name.replaceAll(":", "/")
388
- };
389
- }), {
384
+ const recommendedConfig = pluginTailwind.configs.recommended;
385
+ return [{
386
+ ...recommendedConfig,
387
+ name: (_recommendedConfig$na = recommendedConfig.name) === null || _recommendedConfig$na === void 0 ? void 0 : _recommendedConfig$na.replaceAll(":", "/")
388
+ }, {
390
389
  name: "lichthagel/tailwindcss",
391
390
  rules: {
392
391
  "tailwindcss/classnames-order": "error",
@@ -438,7 +437,9 @@ var unicorn_default = [{
438
437
  "unicorn/no-useless-undefined": ["error", { checkArguments: false }],
439
438
  "unicorn/prevent-abbreviations": "off",
440
439
  "unicorn/comment-content": "off",
441
- "unicorn/consistent-boolean-name": "off"
440
+ "unicorn/consistent-boolean-name": "off",
441
+ "unicorn/name-replacements": "off",
442
+ "unicorn/no-top-level-assignment-in-function": "off"
442
443
  }
443
444
  }];
444
445
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichthagel/eslint-config",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "Licht's ESLint config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -44,7 +44,7 @@
44
44
  "@eslint/js": "^10.0.0",
45
45
  "@stylistic/eslint-plugin": "^5.0.0",
46
46
  "eslint-plugin-perfectionist": "^5.0.0",
47
- "eslint-plugin-unicorn": "^67.0.0",
47
+ "eslint-plugin-unicorn": "^68.0.0",
48
48
  "globals": "^17.0.0",
49
49
  "typescript-eslint": "^8.7.0"
50
50
  },
@@ -58,7 +58,7 @@
58
58
  "eslint-plugin-n": "^18.0.0",
59
59
  "eslint-plugin-solid": "^0.14.3",
60
60
  "eslint-plugin-svelte": "^3.0.0",
61
- "eslint-plugin-tailwindcss": "^3.17.4",
61
+ "eslint-plugin-tailwindcss": "^4.0.0",
62
62
  "eslint-typegen": "^2.0.0",
63
63
  "husky": "^9.1.6",
64
64
  "jiti": "^2.4.2",
@@ -74,7 +74,7 @@
74
74
  "eslint-plugin-n": "^17.2.1 || ^18.0.0",
75
75
  "eslint-plugin-solid": "^0.14.3",
76
76
  "eslint-plugin-svelte": "^2.39.0 || ^3.0.0",
77
- "eslint-plugin-tailwindcss": "^3.17.4"
77
+ "eslint-plugin-tailwindcss": "^3.17.4 || ^4.0.0"
78
78
  },
79
79
  "peerDependenciesMeta": {
80
80
  "eslint-plugin-n": {