mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-07-09 17:19:02 +00:00
fix: align vscode-ide-companion curly rule with root config (#6221)
The bare `curly: 'warn'` defaults to `'all'`, flagging single-line guard statements (e.g. `if (!x) return;`). The root eslint.config.js uses `['error', 'multi-line']` which only requires braces on multi-line bodies. Align the package config to match, eliminating 10 false-positive warnings in AuthMessageHandler.ts and settingsWriter.ts.
This commit is contained in:
parent
8dfa7613be
commit
006ac59a33
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ export default [
|
|||
},
|
||||
],
|
||||
|
||||
curly: 'warn',
|
||||
curly: ['warn', 'multi-line'],
|
||||
eqeqeq: ['warn', 'always', { null: 'ignore' }],
|
||||
'no-throw-literal': 'warn',
|
||||
semi: 'warn',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue