Skip to content

Commit 1168b26

Browse files
jonphippsclaude
andcommitted
fix: correct AudioWorkletGlobalScope value in ESLint config
Fixed ESLint configuration error by setting AudioWorkletGlobalScope to "readonly" instead of trying to access an invalid value from globals.browser with trailing space. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 28be310 commit 1168b26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eslint.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export default [
3232
Object.entries(globals.browser).filter(([key]) => !key.includes(' '))
3333
),
3434
...globals.node,
35-
// Add back the corrected AudioWorkletGlobalScope without whitespace
36-
AudioWorkletGlobalScope: globals.browser['AudioWorkletGlobalScope '],
35+
// Add back the corrected AudioWorkletGlobalScope
36+
AudioWorkletGlobalScope: "readonly",
3737
},
3838
parser: tseslint.parser,
3939
parserOptions: {

0 commit comments

Comments
 (0)