From 3b8d1e11efcd3b4781308c44daf81a6865886c82 Mon Sep 17 00:00:00 2001 From: MarcelBitfly Date: Thu, 8 Aug 2024 14:46:20 +0200 Subject: [PATCH] chore(eslint): add `recommendation` to always formatOnSave with `eslint` 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 --- frontend/.vscode/settings.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/.vscode/settings.json b/frontend/.vscode/settings.json index 620085a67..b12ab5af9 100644 --- a/frontend/.vscode/settings.json +++ b/frontend/.vscode/settings.json @@ -8,5 +8,8 @@ 80, 120 ], - +"editor.codeActionsOnSave": { + "source.fixAll.eslint": "always" +}, +"editor.formatOnSave": false } \ No newline at end of file