From ba2819b6513ecc2daa483dfe94da3daa3ce8ed68 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Wed, 1 Dec 2021 15:01:38 +0100 Subject: [PATCH] MOBILE-3833 chore: Configure formatting settings --- .vscode/settings.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index e2f79e54b..592fc58af 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,23 @@ { + /** + * Formatting. + */ + "editor.defaultFormatter": "dbaeumer.vscode-eslint", + "[html]": { + "editor.defaultFormatter": "vscode.html-language-features", + }, + "editor.formatOnSave": true, + "eslint.format.enable": true, + "html.format.endWithNewline": true, + "html.format.wrapLineLength": 140, + "files.trimFinalNewlines": true, + "files.insertFinalNewline": true, + "files.trimTrailingWhitespace": true, + + /** + * Config files. + */ "files.associations": { "moodle.config.json": "jsonc", "moodle.config.*.json": "jsonc",