Skip to content

Commit 19b9528

Browse files
ZviBaratzclaude
andcommitted
fix(ego-lint): correct misleading Handler guard comment in test fixture
The comment claimed the line was suppressed by the Handler suffix guard, but the actual reason is that the parameter `data` (4 chars) is below the 28-char threshold. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 068a14d commit 19b9528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/fixtures/slop-long-id-guard@test/extension.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default class TestExtension extends Extension {
1414
// Guarded: callback suffix — should NOT trigger
1515
this._windows.sort(sortWindowsCompareByPositionFunction);
1616

17-
// Guarded: handler suffix — should NOT trigger
17+
// Below threshold: parameter `data` is 4 chars — should NOT trigger
1818
this._runPanelAnimationHandler(data);
1919

2020
// Guarded: Adjustment suffix — should NOT trigger

0 commit comments

Comments
 (0)