fix: add missing global variables to ESLint config
Add fetch and timer functions (setTimeout, setInterval, etc.) as global variables in ESLint configuration to fix no-undef errors in scripts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9330c68e5c
commit
359fee23b0
|
|
@ -17,6 +17,11 @@ export default [
|
||||||
module: 'readonly',
|
module: 'readonly',
|
||||||
require: 'readonly',
|
require: 'readonly',
|
||||||
exports: 'writable',
|
exports: 'writable',
|
||||||
|
fetch: 'readonly',
|
||||||
|
setTimeout: 'readonly',
|
||||||
|
setInterval: 'readonly',
|
||||||
|
clearTimeout: 'readonly',
|
||||||
|
clearInterval: 'readonly',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user