@longzai-intelligence-oxlint/core 0.2.11 → 0.2.13

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +0 -12
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- //#region src/types/config.types.d.ts
2
1
  /**
3
2
  * Oxlint 核心类型定义
4
3
  *
@@ -91,8 +90,6 @@ type OxlintConfigOptions = {
91
90
  */
92
91
  jsPlugins?: string[];
93
92
  };
94
- //#endregion
95
- //#region src/defaults/define-oxlint-config.config.d.ts
96
93
  /**
97
94
  * 创建 Oxlint 配置
98
95
  *
@@ -103,8 +100,6 @@ type OxlintConfigOptions = {
103
100
  * @returns Oxlint 配置对象
104
101
  */
105
102
  declare function defineOxlintConfig(options?: OxlintConfigOptions): OxlintConfig;
106
- //#endregion
107
- //#region src/defaults/oxlint-defaults.config.d.ts
108
103
  /**
109
104
  * Oxlint 原生规则默认配置
110
105
  *
@@ -112,8 +107,6 @@ declare function defineOxlintConfig(options?: OxlintConfigOptions): OxlintConfig
112
107
  * 配置参考:https://oxc.rs/docs/guide/usage/linter/rules.html
113
108
  */
114
109
  declare const oxlintDefaults: Record<string, OxlintRuleConfig>;
115
- //#endregion
116
- //#region src/defaults/typescript-eslint-defaults.config.d.ts
117
110
  /**
118
111
  * Oxlint 原生规则默认配置 - typescript-eslint 推荐规则
119
112
  *
@@ -128,8 +121,6 @@ declare const typescriptEslintRecommendedDefaults: Record<string, OxlintRuleConf
128
121
  * 核心规则的文件级豁免,确保共享包出厂配置即可正确处理各文件类型。
129
122
  */
130
123
  declare const typescriptEslintDefaultOverrides: OxlintConfigOverride[];
131
- //#endregion
132
- //#region src/defaults/unicorn-defaults.config.d.ts
133
124
  /**
134
125
  * Oxlint 原生规则默认配置 - unicorn 规则
135
126
  *
@@ -137,8 +128,6 @@ declare const typescriptEslintDefaultOverrides: OxlintConfigOverride[];
137
128
  * 配置参考:https://oxc.rs/docs/guide/usage/linter/rules.html
138
129
  */
139
130
  declare const unicornDefaults: Record<string, OxlintRuleConfig>;
140
- //#endregion
141
- //#region src/utils/infer-caller-dir.utils.d.ts
142
131
  /**
143
132
  * 从堆栈行中提取文件路径
144
133
  *
@@ -176,5 +165,4 @@ declare function inferDirFromStack(stack: string): string | undefined;
176
165
  * @returns 调用者文件所在目录,推断失败时返回 undefined
177
166
  */
178
167
  declare function inferCallerDir(): string | undefined;
179
- //#endregion
180
168
  export { type OxlintConfig, type OxlintConfigOptions, type OxlintConfigOverride, type OxlintRuleConfig, type OxlintRules, type OxlintSeverity, defineOxlintConfig, extractDirFromFilePath, extractFilePathFromStackLine, inferCallerDir, inferDirFromStack, isOxlintConfigPath, oxlintDefaults, typescriptEslintDefaultOverrides, typescriptEslintRecommendedDefaults, unicornDefaults };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longzai-intelligence-oxlint/core",
3
- "version": "0.2.11",
3
+ "version": "0.2.13",
4
4
  "description": "Longzai Intelligence oxlint 核心类型与配置",
5
5
  "keywords": [
6
6
  "config",