« get me outta code hell

prettier tweaks - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-06-26 17:05:21 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-06-26 17:05:21 -0300
commitf65e712fe8b8b1a196da2db286ebc6a5c9bf7433 (patch)
treef016695279762437dc6d197e4c99383e3d858c05
parent1f68407db59a723cf78e050b7da0b73daa732a08 (diff)
prettier tweaks
-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 0000000..ea29422
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,2 @@
+indent_style = space
+indent_size = 2
diff --git a/.eslintrc.json b/.eslintrc.json
index 066effe..98ce4f2 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 0967ef4..7d30a07 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
+}