Skip to content

Commit 646d5fe

Browse files
authored
vscode: configure source.removeUnusedImports, disable source.fixAll.ts (#3964)
* vscode: configure `source.organizeImports` * disable source.fixAll.ts * revert and tweak
1 parent dd8eb88 commit 646d5fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"editor.codeActionsOnSave": {
3-
"source.fixAll": "explicit"
3+
"source.fixAll": "explicit",
4+
"source.removeUnusedImports": "explicit",
5+
// prevent removal of unreachable code
6+
"source.fixAll.ts": "never"
47
},
58
"editor.defaultFormatter": "oxc.oxc-vscode",
69
"editor.formatOnSave": true,

0 commit comments

Comments
 (0)