« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig2
-rw-r--r--.eslintrc.json23
-rw-r--r--.prettierrc.json14
3 files changed, 26 insertions, 13 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..ea294227
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,2 @@
+indent_style = space
+indent_size = 2
diff --git a/.eslintrc.json b/.eslintrc.json
index 066effea..98ce4f20 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,14 +1,13 @@
 {
-    "env": {
-        "browser": true,
-        "es2021": true,
-        "node": true
-    },
-    "extends": "eslint:recommended",
-    "parserOptions": {
-        "ecmaVersion": "latest",
-        "sourceType": "module"
-    },
-    "rules": {
-    }
+  "env": {
+    "browser": true,
+    "es2021": true,
+    "node": true
+  },
+  "extends": "eslint:recommended",
+  "parserOptions": {
+    "ecmaVersion": "latest",
+    "sourceType": "module"
+  },
+  "rules": {}
 }
diff --git a/.prettierrc.json b/.prettierrc.json
index 0967ef42..7d30a07b 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -1 +1,13 @@
-{}
+{
+  "arrowParens": "always",
+  "bracketSpacing": true,
+  "printWidth": 80,
+  "proseWrap": "never",
+  "quoteProps": "as-needed",
+  "requirePragma": true,
+  "semi": true,
+  "singleQuote": true,
+  "tabWidth": 2,
+  "trailingComma": "es5",
+  "useTabs": false
+}