summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2021-03-14 00:28:26 +0100
committerDamien Regad <dregad@mantisbt.org>2021-03-14 00:28:26 +0100
commit6645139d616cd7e477e7ef3281a4ee8dd8c7d7ec (patch)
tree3de181cc6ec88851f9c86cb969daf8442d106c14 /.editorconfig
parentbc3cf40deb96585111a60ae1f4cf05e06e932624 (diff)
downloadadodb-6645139d616cd7e477e7ef3281a4ee8dd8c7d7ec.tar.gz
adodb-6645139d616cd7e477e7ef3281a4ee8dd8c7d7ec.tar.bz2
adodb-6645139d616cd7e477e7ef3281a4ee8dd8c7d7ec.zip
Add basic EditorConfig file
Standardize use of whitespace in project files.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..5dad2ea1
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,22 @@
+# EditorConfig file for ADOdb
+# https://editorconfig.org/
+
+root = true
+
+# Default file settings
+[*]
+indent_style = tab
+indent_size = 4
+end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = true
+charset = utf-8
+
+# Python build scripts
+[*.py]
+indent_style = space
+
+# Markdown files
+[*.md]
+indent_style = space
+trim_trailing_whitespace = false