@sxzz/eslint-config 8.1.0 → 8.2.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.mjs CHANGED
@@ -773,11 +773,16 @@ const unicorn = () => [{
773
773
  kebabCase: true,
774
774
  pascalCase: true
775
775
  },
776
- ignore: [/^[A-Z]+\..*$/, /import_map\.json/]
776
+ ignore: [
777
+ /^[A-Z]+\..*$/,
778
+ /^[a-z]{2}-[A-Z]{2}$/,
779
+ /import_map\.json/
780
+ ]
777
781
  }],
778
782
  "unicorn/import-style": "off",
779
783
  "unicorn/no-abusive-eslint-disable": "off",
780
784
  "unicorn/no-array-for-each": "off",
785
+ "unicorn/no-duplicate-set-values": "error",
781
786
  "unicorn/no-empty-file": "off",
782
787
  "unicorn/no-for-loop": "error",
783
788
  "unicorn/no-process-exit": "off",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sxzz/eslint-config",
3
3
  "type": "module",
4
- "version": "8.1.0",
4
+ "version": "8.2.1",
5
5
  "description": "ESLint config for @sxzz.",
6
6
  "author": "Kevin Deng <sxzz@sxzz.moe>",
7
7
  "license": "MIT",
@@ -41,47 +41,47 @@
41
41
  }
42
42
  },
43
43
  "dependencies": {
44
- "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
44
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
45
45
  "@eslint/js": "^10.0.1",
46
- "@eslint/markdown": "^8.0.1",
46
+ "@eslint/markdown": "^8.0.2",
47
47
  "eslint-config-flat-gitignore": "^2.3.0",
48
48
  "eslint-config-prettier": "^10.1.8",
49
49
  "eslint-flat-config-utils": "^3.2.0",
50
- "eslint-plugin-antfu": "^3.2.2",
50
+ "eslint-plugin-antfu": "^3.2.3",
51
51
  "eslint-plugin-baseline-js": "^0.6.2",
52
52
  "eslint-plugin-command": "^3.5.2",
53
53
  "eslint-plugin-de-morgan": "^2.1.2",
54
54
  "eslint-plugin-importer": "^0.3.0",
55
- "eslint-plugin-jsdoc": "^62.9.0",
56
- "eslint-plugin-jsonc": "^3.1.2",
57
- "eslint-plugin-n": "^18.0.1",
55
+ "eslint-plugin-jsdoc": "^63.0.2",
56
+ "eslint-plugin-jsonc": "^3.2.0",
57
+ "eslint-plugin-n": "^18.1.0",
58
58
  "eslint-plugin-perfectionist": "^5.9.0",
59
- "eslint-plugin-pnpm": "^1.6.0",
60
- "eslint-plugin-prettier": "^5.5.5",
59
+ "eslint-plugin-pnpm": "^1.6.1",
60
+ "eslint-plugin-prettier": "^5.5.6",
61
61
  "eslint-plugin-regexp": "^3.1.0",
62
62
  "eslint-plugin-sxzz": "^0.5.0",
63
- "eslint-plugin-unicorn": "^64.0.0",
63
+ "eslint-plugin-unicorn": "^65.0.1",
64
64
  "eslint-plugin-unused-imports": "^4.4.1",
65
- "eslint-plugin-vue": "^10.9.1",
66
- "eslint-plugin-yml": "^3.3.2",
65
+ "eslint-plugin-vue": "^10.9.2",
66
+ "eslint-plugin-yml": "^3.4.0",
67
67
  "globals": "^17.6.0",
68
68
  "jsonc-eslint-parser": "^3.1.0",
69
- "typescript-eslint": "^8.59.2",
70
- "vue-eslint-parser": "^10.4.0"
69
+ "typescript-eslint": "^8.61.0",
70
+ "vue-eslint-parser": "^10.4.1"
71
71
  },
72
72
  "devDependencies": {
73
- "@eslint/config-inspector": "^2.0.1",
73
+ "@eslint/config-inspector": "^3.0.4",
74
74
  "@sxzz/prettier-config": "^2.3.1",
75
- "@types/node": "^25.6.2",
76
- "@typescript/native-preview": "7.0.0-dev.20260508.1",
77
- "@unocss/eslint-plugin": "^66.6.8",
75
+ "@types/node": "^25.9.3",
76
+ "@typescript/native-preview": "7.0.0-dev.20260613.1",
77
+ "@unocss/eslint-plugin": "^66.7.2",
78
78
  "bumpp": "^11.1.0",
79
- "eslint": "^10.3.0",
79
+ "eslint": "^10.5.0",
80
80
  "eslint-plugin-astro": "^1.7.0",
81
81
  "eslint-typegen": "^2.3.1",
82
- "prettier": "^3.8.3",
83
- "rolldown-plugin-require-cjs": "^0.4.0",
84
- "tsdown": "^0.22.0",
82
+ "prettier": "^3.8.4",
83
+ "rolldown-plugin-require-cjs": "^0.4.1",
84
+ "tsdown": "^0.22.2",
85
85
  "tsdown-preset-sxzz": "^0.6.0",
86
86
  "typescript": "^6.0.3"
87
87
  },