@longzai-intelligence/eslint-preset-library 0.0.3 → 0.0.4
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.d.cts +3 -2
- package/dist/index.d.mts +3 -2
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Linter } from "eslint";
|
|
2
2
|
import { BaseConfigOptions as LibraryConfigOptions } from "@longzai-intelligence/eslint-preset-base";
|
|
3
|
+
import { Config, Config as Config$1 } from "eslint/config";
|
|
3
4
|
|
|
4
5
|
//#region src/library.preset.d.ts
|
|
5
6
|
declare function createLibraryConfig(options?: LibraryConfigOptions): Linter.Config[];
|
|
6
|
-
declare function defineConfig(options?: LibraryConfigOptions):
|
|
7
|
+
declare function defineConfig(options?: LibraryConfigOptions): Config$1[];
|
|
7
8
|
declare const libraryConfig: Linter.Config[];
|
|
8
9
|
//#endregion
|
|
9
|
-
export { type LibraryConfigOptions, createLibraryConfig, defineConfig, libraryConfig };
|
|
10
|
+
export { type Config, type LibraryConfigOptions, createLibraryConfig, defineConfig, libraryConfig };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { BaseConfigOptions as LibraryConfigOptions } from "@longzai-intelligence/eslint-preset-base";
|
|
2
2
|
import { Linter } from "eslint";
|
|
3
|
+
import { Config, Config as Config$1 } from "eslint/config";
|
|
3
4
|
|
|
4
5
|
//#region src/library.preset.d.ts
|
|
5
6
|
declare function createLibraryConfig(options?: LibraryConfigOptions): Linter.Config[];
|
|
6
|
-
declare function defineConfig(options?: LibraryConfigOptions):
|
|
7
|
+
declare function defineConfig(options?: LibraryConfigOptions): Config$1[];
|
|
7
8
|
declare const libraryConfig: Linter.Config[];
|
|
8
9
|
//#endregion
|
|
9
|
-
export { type LibraryConfigOptions, createLibraryConfig, defineConfig, libraryConfig };
|
|
10
|
+
export { type Config, type LibraryConfigOptions, createLibraryConfig, defineConfig, libraryConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longzai-intelligence/eslint-preset-library",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"types": "./dist/index.d.mts",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"typescript": "^5.9.3"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@longzai-intelligence/eslint-preset-base": "0.0.
|
|
41
|
+
"@longzai-intelligence/eslint-preset-base": "0.0.3",
|
|
42
42
|
"@longzai-intelligence/eslint-plugin-architecture": "0.0.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"rimraf": "^6.1.3",
|
|
51
51
|
"tsdown": "^0.21.7",
|
|
52
52
|
"typescript": "^6.0.2",
|
|
53
|
-
"vitest": "^4.1.
|
|
53
|
+
"vitest": "^4.1.3"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|
|
56
56
|
"eslint",
|