@longzai-intelligence-oxlint/eslint-config-plugin 0.1.18 → 0.1.20

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 +7 -11
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,17 +1,13 @@
1
1
  # @longzai-intelligence-oxlint/eslint-config-plugin
2
2
 
3
- ## 意图
3
+ Longzai Intelligence Oxlint 的 ESLint 配置治理插件,强制 ESLint 配置文件使用生态共享配置导入。
4
4
 
5
- 强制 ESLint 配置文件使用生态共享配置导入,避免各项目散落自定义 ESLint 配置造成基线漂移。
5
+ ## 简介
6
6
 
7
- ## 定位
7
+ 治理 ESLint 配置散落自定义的问题:项目内 ESLint 配置文件是否引用生态统一的共享配置包在静态检查阶段校验,防止各项目散落自定义配置造成基线漂移。
8
8
 
9
- Oxlint 生态的 ESLint 配置治理插件,通过 `eslintCompatPlugin` 包装以同时兼容 Oxlint 与 ESLint 运行时。
9
+ ## 能力
10
10
 
11
- ## 职能
12
-
13
- 提供 `require-eslint-config-import` 规则,校验项目内 ESLint 配置文件是否引用生态内统一的共享配置包。
14
-
15
- ## 实现情况
16
-
17
- 当前仅落地配置导入约束一条规则,规则与插件对象均已导出;整体处于聚焦单点的成熟形态,未见其他规则占位。
11
+ - `require-eslint-config-import` — 校验 ESLint 配置文件引用生态共享配置
12
+ - `isPackageJson` 文件判断工具导出
13
+ - 同时兼容 Oxlint 与 ESLint 运行时
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longzai-intelligence-oxlint/eslint-config-plugin",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "license": "UNLICENSED",
5
5
  "files": [
6
6
  "dist"
@@ -35,7 +35,7 @@
35
35
  "typecheck:test": "lzi-tsgo typecheck tsconfig/test.json"
36
36
  },
37
37
  "dependencies": {
38
- "@longzai-intelligence-oxlint/core": "0.1.18",
38
+ "@longzai-intelligence-oxlint/core": "0.1.20",
39
39
  "@oxlint/plugins": "^1.74.0"
40
40
  },
41
41
  "devDependencies": {