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',
|
||||
require: 'readonly',
|
||||
exports: 'writable',
|
||||
fetch: 'readonly',
|
||||
setTimeout: 'readonly',
|
||||
setInterval: 'readonly',
|
||||
clearTimeout: 'readonly',
|
||||
clearInterval: 'readonly',
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user