fix(ci): 清理 land/economy lock 残留 + eslint-plugin dist 对齐 SDK - #50
Merged
Tanya7z merged 1 commit intoJul 23, 2026
Merged
Conversation
- package-lock 删除已移除的 packages/land 与旁路 economy 条目(DRY) - gitignore @sfmc-eslint-plugin/dist,与 @sfmc-sdk 一致,避免再提交残缺产物 - RuleTester 样板抽到 createRuleTester(DRY) - lint 脚本先 build eslint-plugin,保证 flat config 可解析 Co-authored-by: Shiroha <Tanya7z@users.noreply.github.com>
Tanya7z
marked this pull request as ready for review
July 23, 2026 11:19
Contributor
Author
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
ootb 在
3e6f0e8/25f6d23因@sfmc-eslint-plugin漏交configs/recommended.ts(根因:.gitignore的configs/误伤**/configs/**)与残缺 in-repoland失败。#48 已合并修好主路径;本 PR 是跟进清理。审查(DRY · OCP · DIP · LSP · Demeter)
package-lock仍留modules/packages/land与旁路sfmc-modules/economyextraneous 条目@sfmc-eslint-plugin/dist入库,与@sfmc-sdk「源码权威、构建产物不入库」不一致,易再提交残缺 distnode:test样板npm run lint未先 build plugin,依赖可能不存在的 dist补丁
package-lock.json删除 land/economy 残留(覆盖 fix(ci): eslint-plugin configs 漏交 + 移除残缺 land(post-#47 main) #49 的 lock 清理).gitignore增加modules/sdk/@sfmc-eslint-plugin/dist/,并卸载已跟踪 distcreateRuleTester(),四条测试共用lint→eslint-plugin:build && eslint .与 #49 关系
验证