MOBILE-3833 chore: Configure formatting settings

This commit is contained in:
Noel De Martin 2021-12-01 15:01:38 +01:00
parent ea207e8d3e
commit ba2819b651

18
.vscode/settings.json vendored
View File

@ -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",