mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
fix: support node globals in scripts (#109)
This commit is contained in:
parent
1eeadcd85c
commit
98fa8d2b51
2 changed files with 10 additions and 1 deletions
|
|
@ -173,6 +173,16 @@ export default tseslint.config(
|
|||
],
|
||||
},
|
||||
},
|
||||
// extra settings for scripts that we run directly with node
|
||||
{
|
||||
files: ['./scripts/**/*.js'],
|
||||
languageOptions: {
|
||||
globals: {
|
||||
process: 'readonly',
|
||||
console: 'readonly',
|
||||
},
|
||||
},
|
||||
},
|
||||
// Prettier config must be last
|
||||
prettierConfig,
|
||||
// Custom eslint rules for this repo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue