@vida0905/eslint-config 2.6.0 → 2.6.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/cli/index.js CHANGED
@@ -6,7 +6,7 @@ import path from "node:path";
6
6
  import { green } from "ansis";
7
7
 
8
8
  //#region package.json
9
- var version = "2.6.0";
9
+ var version = "2.6.1";
10
10
 
11
11
  //#endregion
12
12
  //#region src/cli/constants.ts
package/dist/index.d.ts CHANGED
@@ -26,10 +26,6 @@ interface RuleOptions {
26
26
  */
27
27
  'nuxt/prefer-import-meta'?: Linter.RuleEntry<[]>;
28
28
  }
29
-
30
- /* ======= Declarations ======= */
31
-
32
- // Names of all the configs
33
29
  //#endregion
34
30
  //#region src/types.d.ts
35
31
  interface Rules extends RuleOptions {}
package/dist/index.js CHANGED
@@ -19,11 +19,10 @@ async function deMorgan(options = {}) {
19
19
  async function nuxt(options = {}) {
20
20
  const { files = [GLOB_SRC], overrides = {} } = options;
21
21
  await ensurePackages(["@nuxt/eslint-plugin"]);
22
- const pluginNuxt = await interopDefault(import("@nuxt/eslint-plugin"));
23
22
  return [{
24
23
  name: "vida/nuxt/setup",
25
24
  languageOptions: { globals: { defineNuxtConfig: "readonly" } },
26
- plugins: { nuxt: pluginNuxt }
25
+ plugins: { nuxt: await interopDefault(import("@nuxt/eslint-plugin")) }
27
26
  }, {
28
27
  name: "vida/nuxt/rules",
29
28
  files,
@@ -132,6 +131,7 @@ function applyOptions(options) {
132
131
  });
133
132
  return options;
134
133
  }
134
+ var src_default = defineConfig;
135
135
 
136
136
  //#endregion
137
- export { applyOptions, deepMerge, defineConfig as default, defineConfig };
137
+ export { applyOptions, deepMerge, src_default as default, defineConfig };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vida0905/eslint-config",
3
3
  "type": "module",
4
- "version": "2.6.0",
4
+ "version": "2.6.1",
5
5
  "description": "Vida Xie's ESLint Config",
6
6
  "author": "Vida Xie <vida_2020@163.com> (https://github.com/9romise/)",
7
7
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  }
41
41
  },
42
42
  "dependencies": {
43
- "@antfu/eslint-config": "^5.2.1",
43
+ "@antfu/eslint-config": "^5.3.0",
44
44
  "ansis": "^4.1.0",
45
45
  "cac": "^6.7.14",
46
46
  "eslint-flat-config-utils": "^2.1.1",
@@ -48,13 +48,13 @@
48
48
  "local-pkg": "^1.1.2"
49
49
  },
50
50
  "devDependencies": {
51
- "@types/node": "^24.3.0",
52
- "eslint": "^9.33.0",
51
+ "@types/node": "^24.3.3",
52
+ "eslint": "^9.35.0",
53
53
  "eslint-typegen": "^2.3.0",
54
54
  "husky": "^9.1.7",
55
55
  "nano-staged": "^0.8.0",
56
- "tsdown": "^0.14.1",
57
- "tsx": "^4.20.4",
56
+ "tsdown": "^0.15.1",
57
+ "tsx": "^4.20.5",
58
58
  "typescript": "^5.9.2",
59
59
  "vitest": "^3.2.4"
60
60
  },