@magicdawn/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 +2 -3
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export * from "@sxzz/eslint-config";
|
|
|
6
6
|
|
|
7
7
|
//#region src/configs/ground-to-up.d.ts
|
|
8
8
|
declare const groundToUpConfigs: Linter.Config[];
|
|
9
|
-
|
|
10
9
|
//#endregion
|
|
11
10
|
//#region src/configs/sxzz.d.ts
|
|
12
11
|
type SxzzArgs = Parameters<typeof sxzz>;
|
|
@@ -22,7 +21,6 @@ interface MixedOptions extends Exclude<SxzzOptions, undefined> {
|
|
|
22
21
|
}
|
|
23
22
|
declare function fromSxzz(options?: MixedOptions, ...moreConfigs: UserConfig[]): eslint_flat_config_utils2.FlatConfigComposer<_sxzz_eslint_config0.Config, _sxzz_eslint_config0.ConfigNames>;
|
|
24
23
|
type GetRuleOptions<T extends Linter.RuleEntry> = T extends Linter.RuleSeverityAndOptions<infer Options> ? Options : never;
|
|
25
|
-
|
|
26
24
|
//#endregion
|
|
27
25
|
//#region src/mg-custom.d.ts
|
|
28
26
|
declare const mgCustomIgnoreConfig: Linter.Config;
|
|
@@ -89,5 +87,6 @@ declare const mgCustomJsonOrder: {
|
|
|
89
87
|
pathPattern: string;
|
|
90
88
|
order: string[];
|
|
91
89
|
}[];
|
|
92
|
-
};
|
|
90
|
+
};
|
|
91
|
+
//#endregion
|
|
93
92
|
export { GetRuleOptions, TsConfigCompilerOptionsKey, fromSxzz, groundToUpConfigs, mgCustomIgnoreConfig, mgCustomJsonOrder, mgCustomRules };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magicdawn/eslint-config",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977",
|
|
5
5
|
"description": "magicdawn's eslint-config",
|
|
6
6
|
"type": "module",
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
"@sxzz/eslint-config": "^7.0.1",
|
|
56
56
|
"es-toolkit": "^1.38.0",
|
|
57
57
|
"eslint-config-prettier": "^10.1.5",
|
|
58
|
-
"eslint-flat-config-utils": "^2.0
|
|
59
|
-
"globals": "^16.
|
|
60
|
-
"typescript-eslint": "^8.
|
|
58
|
+
"eslint-flat-config-utils": "^2.1.0",
|
|
59
|
+
"globals": "^16.2.0",
|
|
60
|
+
"typescript-eslint": "^8.33.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@magicdawn/prettier-config": "^0.1.0",
|
|
64
64
|
"husky": "^9.1.7",
|
|
65
|
-
"lint-staged": "^16.
|
|
65
|
+
"lint-staged": "^16.1.0",
|
|
66
66
|
"prettier": "^3.5.3",
|
|
67
|
-
"tsdown": "^0.
|
|
67
|
+
"tsdown": "^0.12.4"
|
|
68
68
|
},
|
|
69
69
|
"lint-staged": {
|
|
70
70
|
"*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,json,md,yaml,yml}": [
|