@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 +1 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.js +3 -3
- package/package.json +6 -6
package/dist/cli/index.js
CHANGED
package/dist/index.d.ts
CHANGED
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:
|
|
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,
|
|
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.
|
|
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.
|
|
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.
|
|
52
|
-
"eslint": "^9.
|
|
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.
|
|
57
|
-
"tsx": "^4.20.
|
|
56
|
+
"tsdown": "^0.15.1",
|
|
57
|
+
"tsx": "^4.20.5",
|
|
58
58
|
"typescript": "^5.9.2",
|
|
59
59
|
"vitest": "^3.2.4"
|
|
60
60
|
},
|