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:06:06 +0200
commitc3035a9039b0adbce30e3ec5872cff46ab510317 (patch)
tree596c14177d7aed8a8bed305ceca91072ce4f09ea
parentd668ef0bcda232d740f371a94afcd2cd4e462b3c (diff)
downloadaur-c3035a9039b0adbce30e3ec5872cff46ab510317.tar.gz
aur-c3035a9039b0adbce30e3ec5872cff46ab510317.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