@zhangyu1818/oxlint-config 2.5.0 → 2.7.0
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 +8 -8
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/shared/ignore-patterns.d.ts
|
|
2
|
-
declare const defaultIgnorePatterns: string[];
|
|
2
|
+
export declare const defaultIgnorePatterns: string[];
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/types.d.ts
|
|
5
5
|
type Severity = 'off' | 'warn' | 'error';
|
|
@@ -157,7 +157,7 @@ interface DefineOxfmtConfigOptions extends OxfmtOverrideOptions {
|
|
|
157
157
|
}
|
|
158
158
|
//#endregion
|
|
159
159
|
//#region src/oxlint/index.d.ts
|
|
160
|
-
declare const defaultOxlintPresets: {
|
|
160
|
+
export declare const defaultOxlintPresets: {
|
|
161
161
|
ignores: true;
|
|
162
162
|
imports: true;
|
|
163
163
|
javascript: true;
|
|
@@ -169,14 +169,14 @@ declare const defaultOxlintPresets: {
|
|
|
169
169
|
typescript: boolean;
|
|
170
170
|
unicorn: true;
|
|
171
171
|
};
|
|
172
|
-
declare function defineOxlintConfig(options?: DefineOxlintConfigOptions): OxlintConfig;
|
|
173
|
-
declare const defineConfig: typeof defineOxlintConfig;
|
|
172
|
+
export declare function defineOxlintConfig(options?: DefineOxlintConfigOptions): OxlintConfig;
|
|
173
|
+
export declare const defineConfig: typeof defineOxlintConfig;
|
|
174
174
|
//#endregion
|
|
175
175
|
//#region src/oxfmt/presets/imports.d.ts
|
|
176
|
-
declare const defaultSortImports: SortImportsOptions;
|
|
176
|
+
export declare const defaultSortImports: SortImportsOptions;
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/oxfmt/index.d.ts
|
|
179
|
-
declare const defaultOxfmtPresets: Required<OxfmtPresets>;
|
|
180
|
-
declare function defineOxfmtConfig(options?: DefineOxfmtConfigOptions): OxfmtConfig;
|
|
179
|
+
export declare const defaultOxfmtPresets: Required<OxfmtPresets>;
|
|
180
|
+
export declare function defineOxfmtConfig(options?: DefineOxfmtConfigOptions): OxfmtConfig;
|
|
181
181
|
//#endregion
|
|
182
|
-
export {
|
|
182
|
+
export type { DefineOxfmtConfigOptions, DefineOxlintConfigOptions, OxfmtConfig, OxfmtOverride, OxfmtPresetConfig, OxfmtPresets, OxlintConfig, OxlintGlobalValue, OxlintGlobals, OxlintJsPlugin, OxlintJsPluginAlias, OxlintOverride, OxlintPlugin, OxlintPresetConfig, OxlintPresets, ReactOptions, ReactPresetOptions, RuleConfig, Rules, Severity, SortImportsOptions, SortPackageJsonOptions, TailwindSortOptions, TypeScriptOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhangyu1818/oxlint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Native Oxlint and Oxfmt config preset package",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oxc",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
"local-pkg": "^1.2.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@types/node": "^26.
|
|
44
|
-
"oxfmt": "^0.
|
|
45
|
-
"oxlint": "^1.
|
|
46
|
-
"oxlint-tsgolint": "^7.0.
|
|
47
|
-
"tsdown": "^0.
|
|
43
|
+
"@types/node": "^26.6.3",
|
|
44
|
+
"oxfmt": "^0.70.0",
|
|
45
|
+
"oxlint": "^1.85.0",
|
|
46
|
+
"oxlint-tsgolint": "^7.0.2003",
|
|
47
|
+
"tsdown": "^0.23.0",
|
|
48
48
|
"typescript": "^7.0.2",
|
|
49
|
-
"vitest": "^
|
|
49
|
+
"vitest": "^5.0.2"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"oxfmt": "^0.
|
|
52
|
+
"oxfmt": "^0.70.0",
|
|
53
53
|
"oxlint": "^1.79.0",
|
|
54
54
|
"oxlint-tsgolint": "^7.0.2001"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|
|
57
57
|
"node": ">=24"
|
|
58
58
|
},
|
|
59
|
-
"packageManager": "pnpm@
|
|
59
|
+
"packageManager": "pnpm@12.6.0"
|
|
60
60
|
}
|