Skip to content

Commit 120039b

Browse files
cyfung1031CodFrm
andauthored
⚡️ 优化 ESLint harness 性能并统一诊断断言 (Linter.verify and ruleIdsAt) (#1759)
* ✅ reduce redundant eslint harness passes * ⚡️ merge redundant ESLint harness passes * ♻️ 统一 ESLint harness 规则诊断断言 * 📄 补充 ESLint harness 辅助函数说明 * 非法参数直接报错 * ✅ 修正边界夹具合并后豁免注释用例失效 合并夹具时顶层 const Array 遮蔽了下方带 eslint-disable 注释的 Array.from,导致删掉豁免注释用例仍通过;把遮蔽用例移入独立函数作用域,两个分支各自可被变异检出。同时删去复述代码的注释。 --------- Co-authored-by: 王一之 <yz@ggnb.top>
1 parent 56ec5d3 commit 120039b

1 file changed

Lines changed: 353 additions & 150 deletions

File tree

0 commit comments

Comments
 (0)