Skip to content

Commit

Permalink
chore: Update VSCode formatting settings.
Browse files Browse the repository at this point in the history
On every launch VSCode keep changin codeActionsOnSave from true to "explicit". Turns out, VSCode true is set to "explicit" since VSCode 1.85.0. It seems boolean values were supported until 1.84.0. https://stackoverflow.com/a/77637765
  • Loading branch information
sultanmyrza committed Feb 20, 2024
1 parent 6312ad9 commit 0964bf2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true,
"source.organizeImports": true
"source.fixAll.eslint": "explicit",
"source.fixAll.stylelint": "explicit",
"source.organizeImports": "explicit"
},
"typescript.preferences.importModuleSpecifier": "relative"
}

0 comments on commit 0964bf2

Please sign in to comment.