Skip to content

Commit

Permalink
chore(vscode): update VS Code settings (#5199)
Browse files Browse the repository at this point in the history
### Description

From version 1.85 VS Code uses string format for `organizeImports`
setting instead of boolean ([1.85 release
notes](https://code.visualstudio.com/updates/v1_85#_code-actions-on-save-and-auto)).

The change is backwards compatible:

`false` -> `"never"`
`true` ->  `"explicit"`

### Test plan

N/A

### Related issues

N/A

### Backwards compatibility

Y

### Network scalability

N/A

Co-authored-by: Tom McGuire <Mcgtom10@gmail.com>
  • Loading branch information
bakoushin and MuckT committed Apr 3, 2024
1 parent 6d625fa commit 3315e1e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,30 @@
// Use the project's TypeScript version instead of the one bundled with VS Code
"typescript.tsdk": "node_modules/typescript/lib",
"editor.codeActionsOnSave": {
"source.organizeImports": false
"source.organizeImports": "never"
},
"[javascript]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": false
"source.organizeImports": "never"
}
},
"[javascriptreact]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
}
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
}
},
"[typescriptreact]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
}
},
"javascript.format.enable": false,
Expand Down

0 comments on commit 3315e1e

Please sign in to comment.