@so1ve/eslint-config 1.5.2 → 1.5.3
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.ts +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -198,7 +198,7 @@ declare const yaml: ({ overrides }?: OptionsOverrides) => ConfigItem[];
|
|
|
198
198
|
/**
|
|
199
199
|
* Construct an array of ESLint flat config items.
|
|
200
200
|
*/
|
|
201
|
-
declare function so1ve(options?: Options, ...userConfigs: (ConfigItem | ConfigItem[])[]): ConfigItem[];
|
|
201
|
+
declare function so1ve(options?: Options & ConfigItem, ...userConfigs: (ConfigItem | ConfigItem[])[]): ConfigItem[];
|
|
202
202
|
type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
203
203
|
declare const resolveSubOptions: <K extends keyof Options>(options: Options & ConfigItem, key: K) => ResolvedOptions<Options[K]>;
|
|
204
204
|
declare function getOverrides<K extends keyof Options>(options: Options, key: K): any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@so1ve/eslint-config",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
|
|
5
5
|
"description": "Ray's eslint config.",
|
|
6
6
|
"keywords": [
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"typescript-eslint": "^7.1.0",
|
|
72
72
|
"vue-eslint-parser": "^9.4.2",
|
|
73
73
|
"yaml-eslint-parser": "^1.2.2",
|
|
74
|
-
"@so1ve/eslint-plugin": "1.5.
|
|
75
|
-
"@so1ve/eslint-plugin
|
|
74
|
+
"@so1ve/eslint-plugin-sort-imports": "1.5.3",
|
|
75
|
+
"@so1ve/eslint-plugin": "1.5.3"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@typescript-eslint/utils": "^7.1.0",
|