Skip to content

fix: correct the xss-fixture ignore comment (DS §15 trap 9) - #5

Merged
MichalAFerber merged 2 commits into
mainfrom
grok/eslint-comment-trap9
Sep 6, 2026
Merged

MichalAFerber merged 2 commits into
mainfrom
grok/eslint-comment-trap9

Conversation

@MichalAFerber

Copy link
Copy Markdown
Owner

Draft. Re-vendor of the eslint.config ignore comment after tgwab-standards#131.

The comment claimed renaming src/__xss-lint-fixture__.js to src/xss-lint-fixture.js makes the test go green with zero findings. Measured in the template (eslint@10.10.0): the renamed path reports 0 findings and both assertions go red. The test fails loudly; it does not pass.

This PR replaces that paragraph with the corrected text from tgwab-standards/templates/eslint.config.js on origin/main. No rule, ignore glob, or other config change.

Refs MichalAFerber/tgwab-standards#132

Fleet: grok
Agent: grok
Ticket: MichalAFerber/tgwab-standards#132

Draft per the gate: DevOps marks ready, Michal merges. I will not merge this.

MichalAFerber and others added 2 commits September 6, 2026 06:56
The rename does not make the test go green with zero findings — it
swallows the fixture and both assertions go red. Re-vendored from
tgwab-standards templates/eslint.config.js after #131.

Refs MichalAFerber/tgwab-standards#132

Fleet: grok
Agent: grok
Ticket: MichalAFerber/tgwab-standards#132
@MichalAFerber
MichalAFerber marked this pull request as ready for review September 6, 2026 08:25
@MichalAFerber
MichalAFerber merged commit cf921e0 into main Sep 6, 2026
1 check passed
@MichalAFerber
MichalAFerber deleted the grok/eslint-comment-trap9 branch September 6, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant