@antfu/eslint-config 8.1.0 → 8.2.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/dist/cli.mjs CHANGED
@@ -8,7 +8,7 @@ import { cac } from "cac";
8
8
  import parse from "parse-gitignore";
9
9
  import { execSync } from "node:child_process";
10
10
  //#region package.json
11
- var version = "8.1.0";
11
+ var version = "8.2.0";
12
12
  //#endregion
13
13
  //#region src/cli/constants.ts
14
14
  const vscodeSettingsString = `
@@ -166,8 +166,8 @@ async function updateEslintFiles(result) {
166
166
  //#region src/cli/constants-generated.ts
167
167
  const versionsMap = {
168
168
  "@eslint-react/eslint-plugin": "^3.0.0",
169
- "@next/eslint-plugin-next": "^16.2.2",
170
- "@unocss/eslint-plugin": "^66.6.7",
169
+ "@next/eslint-plugin-next": "^16.2.3",
170
+ "@unocss/eslint-plugin": "^66.6.8",
171
171
  "astro-eslint-parser": "^1.4.0",
172
172
  "eslint": "^10.2.0",
173
173
  "eslint-plugin-astro": "^1.7.0",
package/dist/index.mjs CHANGED
@@ -122,13 +122,17 @@ const GLOB_EXCLUDE = [
122
122
  "**/.output",
123
123
  "**/.vite-inspect",
124
124
  "**/.yarn",
125
- "**/vite.config.*.timestamp-*",
126
125
  "**/CHANGELOG*.md",
127
- "**/*.min.*",
128
126
  "**/LICENSE*",
127
+ "**/*.min.*",
129
128
  "**/__snapshots__",
129
+ "**/vite.config.*.timestamp-*",
130
130
  "**/auto-import?(s).d.ts",
131
- "**/components.d.ts"
131
+ "**/components.d.ts",
132
+ "**/.context",
133
+ "**/.claude",
134
+ "**/.agents",
135
+ "**/.*/skills"
132
136
  ];
133
137
  //#endregion
134
138
  //#region src/utils.ts
@@ -2340,6 +2344,7 @@ async function e18e(options = {}) {
2340
2344
  ...modernization ? { ...configs.modernization.rules } : {},
2341
2345
  ...moduleReplacements ? { ...configs.moduleReplacements.rules } : {},
2342
2346
  ...performanceImprovements ? { ...configs.performanceImprovements.rules } : {},
2347
+ ...type === "lib" ? {} : { "e18e/prefer-static-regex": "off" },
2343
2348
  "e18e/prefer-array-at": "off",
2344
2349
  "e18e/prefer-array-from-map": "off",
2345
2350
  "e18e/prefer-array-to-reversed": "off",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antfu/eslint-config",
3
3
  "type": "module",
4
- "version": "8.1.0",
4
+ "version": "8.2.0",
5
5
  "description": "Anthony's ESLint config",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
7
7
  "license": "MIT",
@@ -114,7 +114,7 @@
114
114
  "@stylistic/eslint-plugin": "^5.10.0",
115
115
  "@typescript-eslint/eslint-plugin": "^8.58.1",
116
116
  "@typescript-eslint/parser": "^8.58.1",
117
- "@vitest/eslint-plugin": "^1.6.14",
117
+ "@vitest/eslint-plugin": "^1.6.15",
118
118
  "ansis": "^4.2.0",
119
119
  "cac": "^7.0.0",
120
120
  "eslint-config-flat-gitignore": "^2.3.0",
@@ -136,7 +136,7 @@
136
136
  "eslint-plugin-vue": "^10.8.0",
137
137
  "eslint-plugin-yml": "^3.3.1",
138
138
  "eslint-processor-vue-blocks": "^2.0.0",
139
- "globals": "^17.4.0",
139
+ "globals": "^17.5.0",
140
140
  "local-pkg": "^1.1.2",
141
141
  "parse-gitignore": "^2.0.0",
142
142
  "toml-eslint-parser": "^1.0.3",
@@ -147,17 +147,17 @@
147
147
  "@angular-eslint/eslint-plugin": "^21.3.1",
148
148
  "@angular-eslint/eslint-plugin-template": "^21.3.1",
149
149
  "@angular-eslint/template-parser": "^21.3.1",
150
- "@angular/core": "^21.2.7",
150
+ "@angular/core": "^21.2.8",
151
151
  "@antfu/ni": "^30.0.0",
152
152
  "@eslint-react/eslint-plugin": "^3.0.0",
153
153
  "@eslint/config-inspector": "^1.5.0",
154
- "@next/eslint-plugin-next": "^16.2.2",
154
+ "@next/eslint-plugin-next": "^16.2.3",
155
155
  "@prettier/plugin-xml": "^3.4.2",
156
156
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
157
- "@types/node": "^25.5.2",
158
- "@unocss/eslint-plugin": "^66.6.7",
157
+ "@types/node": "^25.6.0",
158
+ "@unocss/eslint-plugin": "^66.6.8",
159
159
  "astro-eslint-parser": "^1.4.0",
160
- "baseline-browser-mapping": "^2.10.16",
160
+ "baseline-browser-mapping": "^2.10.18",
161
161
  "bumpp": "^11.0.1",
162
162
  "eslint": "^10.2.0",
163
163
  "eslint-plugin-astro": "^1.7.0",
@@ -177,15 +177,16 @@
177
177
  "prettier-plugin-astro": "^0.14.1",
178
178
  "prettier-plugin-slidev": "^1.0.5",
179
179
  "simple-git-hooks": "^2.13.1",
180
- "svelte": "^5.55.2",
180
+ "svelte": "^5.55.3",
181
181
  "svelte-eslint-parser": "^1.6.0",
182
182
  "tinyglobby": "^0.2.16",
183
183
  "tsdown": "^0.21.7",
184
+ "tsnapi": "^0.1.1",
184
185
  "tsx": "^4.21.0",
185
186
  "typescript": "^6.0.2",
186
- "vitest": "^4.1.3",
187
+ "vitest": "^4.1.4",
187
188
  "vue": "^3.5.32",
188
- "@antfu/eslint-config": "8.1.0"
189
+ "@antfu/eslint-config": "8.2.0"
189
190
  },
190
191
  "resolutions": {
191
192
  "@eslint-community/eslint-utils": "catalog:peer",