Merge pull request #82 from pioardi/editorconfig
authorAlessandro Pio Ardizio <alessandroardizio94@gmail.com>
Mon, 8 Feb 2021 17:49:51 +0000 (18:49 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Feb 2021 17:49:51 +0000 (18:49 +0100)
Add editor configuration file.

.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..5f5dd09
--- /dev/null
@@ -0,0 +1,21 @@
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+tab_width = 2
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+end_of_line = lf
+
+[*.{js,jsx,ts,tsx}]
+quote_type = single
+
+[*.md]
+max_line_length = off
+trim_trailing_whitespace = false
+
+[{Makefile,**.mk}]
+# Use tabs for indentation (Makefiles require tabs)
+indent_style = tab