Skip to content

Commit

Permalink
chore(eslint): add recommendation to always formatOnSave with eslint
Browse files Browse the repository at this point in the history
editor.formatOnSave has to be `false`, as we are not using a formatter,
but a `linter for formatting`.
This way we could only trigger `linting` only before merging stuff.
Which would shorten our compute time.

See: https://eslint.style/guide/faq#how-to-auto-format-on-save
See: BEDS-128
  • Loading branch information
MarcelBitfly committed Aug 9, 2024
1 parent 8f788d8 commit 3b8d1e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
80,
120
],

"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"editor.formatOnSave": false
}

0 comments on commit 3b8d1e1

Please sign in to comment.