@longzai-intelligence-oxlint/core 0.0.38 → 0.0.40

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/README.md +17 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @longzai-intelligence-oxlint/core
2
+
3
+ ## 意图
4
+
5
+ 为 Oxlint 生态内所有包提供共享的类型定义与配置工厂基座,避免各包重复声明相同结构与默认值。
6
+
7
+ ## 定位
8
+
9
+ Oxlint 项目的基础设施层,被 utils、presets、oxlint-config 及全部插件包依赖。
10
+
11
+ ## 职能
12
+
13
+ 定义 Oxlint 配置、规则集、覆盖项、严重级别等核心类型;提供 `defineOxlintConfig` 工厂函数统一组装默认忽略模式、默认插件列表、默认规则与默认覆盖;沉淀 eslint-core、typescript-eslint、unicorn 三类原生规则的推荐默认值;提供调用方目录推断工具。
14
+
15
+ ## 实现情况
16
+
17
+ 类型定义与默认配置已成型,工厂函数支持外部参数与默认值合并而非替换,并配套单元测试覆盖默认值与工厂行为;当前默认插件集合聚焦 typescript、unicorn、import 三类。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longzai-intelligence-oxlint/core",
3
- "version": "0.0.38",
3
+ "version": "0.0.40",
4
4
  "license": "UNLICENSED",
5
5
  "files": [
6
6
  "dist"