diff --git a/.editorconfig b/.editorconfig index 3d25fe3..8896a32 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,3 +10,7 @@ insert_final_newline = true [*.nix] indent_size = 2 + +# Javascript, TypeScript, JSON etc +[*.{js,ts,json}] +indent_size = 2 diff --git a/.vscode/settings.json b/.vscode/settings.json index bc89278..017a3f3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,5 @@ { + "editor.formatOnSave": true, "cSpell.words": [ "benda", "bjit",