From debaba13b09d1182150eaaa9f8f4633b7a9fa8b4 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Wed, 10 May 2023 16:46:52 +1200 Subject: [PATCH] Linter bracket spacing --- html/.eslintrc.json | 3 ++- html/.prettierrc.json | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/html/.eslintrc.json b/html/.eslintrc.json index 4540cccf..9d90a309 100644 --- a/html/.eslintrc.json +++ b/html/.eslintrc.json @@ -85,6 +85,7 @@ "sort-keys": 0, "sort-vars": 0, "strict": 0, - "vars-on-top": 0 + "vars-on-top": 0, + "object-curly-spacing": ["error", "always"] } } diff --git a/html/.prettierrc.json b/html/.prettierrc.json index b5b72a7a..9068de5d 100644 --- a/html/.prettierrc.json +++ b/html/.prettierrc.json @@ -1,12 +1,12 @@ { - "printWidth": 80, - "tabWidth": 4, - "semi": true, - "singleQuote": true, - "quoteProps": "as-needed", - "trailingComma": "none", - "bracketSpacing": false, - "arrowParens": "always", - "vueIndentScriptAndStyle": true, - "endOfLine": "auto" + "printWidth": 80, + "tabWidth": 4, + "semi": true, + "singleQuote": true, + "quoteProps": "as-needed", + "trailingComma": "none", + "bracketSpacing": true, + "arrowParens": "always", + "vueIndentScriptAndStyle": true, + "endOfLine": "auto" }