ci: ignore generated extension viewer asset in lint · openclaw/openclaw@a7b7683
steipete
·
2026-05-03
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -116,6 +116,7 @@
|
116 | 116 | "dist/", |
117 | 117 | "dist-runtime/", |
118 | 118 | "docs/_layouts/", |
| 119 | +"extensions/diffs/assets/viewer-runtime.js", |
119 | 120 | "node_modules/", |
120 | 121 | "patches/", |
121 | 122 | "pnpm-lock.yaml", |
@@ -124,6 +125,7 @@
|
124 | 125 | "src/canvas-host/a2ui/a2ui.bundle.js", |
125 | 126 | "vendor/", |
126 | 127 | "**/.cache/**", |
| 128 | +"**/.openclaw-runtime-deps-copy-*/**", |
127 | 129 | "**/build/**", |
128 | 130 | "**/coverage/**", |
129 | 131 | "**/dist/**", |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -121,6 +121,8 @@ describe("oxlint config", () => {
|
121 | 121 | expect(ignorePatterns).toContain("**/build/**"); |
122 | 122 | expect(ignorePatterns).toContain("**/coverage/**"); |
123 | 123 | expect(ignorePatterns).toContain("**/.cache/**"); |
| 124 | +expect(ignorePatterns).toContain("**/.openclaw-runtime-deps-copy-*/**"); |
| 125 | +expect(ignorePatterns).toContain("extensions/diffs/assets/viewer-runtime.js"); |
124 | 126 | }); |
125 | 127 | |
126 | 128 | it("enables strict empty object type lint with named single-extends interfaces allowed", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。