From 733a8c6a61e87cbba236c3070218758742a03269 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Tue, 22 Nov 2022 10:42:36 +0100 Subject: [PATCH 1/2] refactor: aligned code styles through projects --- .prettierrc.json | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.prettierrc.json b/.prettierrc.json index 92deab90a..15e18d74f 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -2,16 +2,12 @@ "trailingComma": "none", "overrides": [ { - "files": "**/*.js", + "files": ["*.js", "*.jsx", "*.ts", "*.tsx"], "options": { - "singleQuote": true - } - }, - { - "files": "**/*.mjs", - "options": { - "singleQuote": true + "bracketSameLine": true } } - ] + ], + "editorconfig": true, + "bracketSpacing": true } From 5ad02432ff75787fac1bd196496ebda39bf7704d Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Wed, 23 Nov 2022 17:58:21 +0100 Subject: [PATCH 2/2] fix: this is not an option for the config --- .prettierrc.json | 1 - 1 file changed, 1 deletion(-) diff --git a/.prettierrc.json b/.prettierrc.json index 15e18d74f..1da97fada 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -8,6 +8,5 @@ } } ], - "editorconfig": true, "bracketSpacing": true }