summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-06 13:27:21 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit21f293f689217f36e53ba00bc5da9300ad173bc2 (patch)
treef4766d673346cde4b3172cf5ff7976df25c0e449
parent0811f59736799eb05db3b77a492684a600bc6270 (diff)
downloadplantagenet-21f293f689217f36e53ba00bc5da9300ad173bc2.tar.gz
Add editorconfig files with whitespace settings.
-rw-r--r--.editorconfig6
-rw-r--r--.jsbeautifyrc6
-rw-r--r--.prettierrc6
3 files changed, 18 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..3a76da0
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,6 @@
+[*]
+charset = utf-8
+indent_style = tabs
+insert_final_newline = true
+trim_trailing_whitespace = true
+end_of_line = lf
diff --git a/.jsbeautifyrc b/.jsbeautifyrc
new file mode 100644
index 0000000..bc9ebe9
--- /dev/null
+++ b/.jsbeautifyrc
@@ -0,0 +1,6 @@
+{
+ "indent_with_tabs": true,
+ "end_with_newline": true,
+ "space_after_anon_function": true,
+ "keep_array_indentation": true
+}
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000..bfc1911
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,6 @@
+{
+ "arrowParens": "avoid",
+ "printWidth": 120,
+ "semi": false,
+ "useTabs": true
+}