Skip to content

Commit

Permalink
vscode: do not format on save
Browse files Browse the repository at this point in the history
Opinionated linters may not format code in the prefered style.  There are instances where they may break style preferences (eg ignoring line length).

Signed-off-by: Chris. Webster <[email protected]>
  • Loading branch information
webstech committed Aug 21, 2024
1 parent dcfa182 commit ed868d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"editor.codeActionsOnSave": {"source.fixAll.eslint": true},
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll": "never",
"source.fixAll.eslint": "never"
},
"[typescript]": {
"editor.detectIndentation": false,
"editor.autoIndent": "none",
Expand Down

0 comments on commit ed868d4

Please sign in to comment.