Skip to content

Commit 89d3d52

Browse files
raifdmuellerclaude
andcommitted
chore: allow DOMParser browser global in ESLint config
The entity-decode fix uses DOMParser, which the explicit browser-globals allowlist did not include, causing a no-undef lint error. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 3c825b7 commit 89d3d52

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

website/eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const browserGlobals = {
1818
setInterval: 'readonly',
1919
clearInterval: 'readonly',
2020
HTMLElement: 'readonly',
21+
DOMParser: 'readonly',
2122
Event: 'readonly',
2223
CustomEvent: 'readonly',
2324
KeyboardEvent: 'readonly',

0 commit comments

Comments
 (0)