summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorBlackDex <[email protected]>2021-03-30 21:45:10 +0200
committerBlackDex <[email protected]>2021-03-30 21:45:10 +0200
commit9caf4bf38381f4ec0680a4b29ba26f9c1921fba0 (patch)
treec05b7ee1aeefcf122f414fbff0c5db44dc6db472 /.editorconfig
parent9b2234fa0e313f79e458a5dd45da163760fcbfb4 (diff)
downloadvaultwarden-9caf4bf38381f4ec0680a4b29ba26f9c1921fba0.tar.gz
vaultwarden-9caf4bf38381f4ec0680a4b29ba26f9c1921fba0.zip
Misc changes.
Some small changes in general: - Moved the SQL Version check struct into the function. - Updated hadolint to 2.0.0 - Fixed hadolint 2.0.0 warnings - Updated github workflows - Added .editorconfig for some general shared editor settings.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..27c2a5e3
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,23 @@
+# EditorConfig is awesome: https://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+[*]
+end_of_line = lf
+charset = utf-8
+
+[*.{rs,py}]
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.{yml,yaml}]
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[Makefile]
+indent_style = tab