diff options
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 |
commit | f65e712fe8b8b1a196da2db286ebc6a5c9bf7433 (patch) | |
tree | f016695279762437dc6d197e4c99383e3d858c05 | |
parent | 1f68407db59a723cf78e050b7da0b73daa732a08 (diff) |
prettier tweaks
-rw-r--r-- | .editorconfig | 2 | ||||
-rw-r--r-- | .eslintrc.json | 23 | ||||
-rw-r--r-- | .prettierrc.json | 14 |
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 +} |