summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-04-29 00:02:34 +0200
committerEli Schwartz <eschwartz@archlinux.org>2021-04-29 00:39:04 +0200
commit2a4f423e110d94b741e251635fd378b8b6daa535 (patch)
treecf55d5b0eb5037eb2fc9877408f3500fd9a523ce
parentc767b13b24e269adbc93db5074ef331f693af091 (diff)
downloadaur-2a4f423e110d94b741e251635fd378b8b6daa535.tar.gz
aur-2a4f423e110d94b741e251635fd378b8b6daa535.tar.xz
add https://EditorConfig.org setup to ensure consistent style
Mostly here to make sure people continue to use tabbed indents for php and the TAP tests, since that is what they are currently using. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
-rw-r--r--.editorconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..5a751aad
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,13 @@
+# EditorConfig configuration for aurweb
+# https://EditorConfig.org
+
+# Top-most EditorConfig file
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+
+[*.{php,t}]
+indent_style = tab