From 0f7ce7963fc62f4b165bdc96744df89a2904cf17 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Mon, 5 Dec 2022 12:41:02 +0100 Subject: [PATCH] refactor: aligned code styles through projects (#158) * refactor: aligned code styles through projects * fix: this is not an option for the config --- .prettierrc.json | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.prettierrc.json b/.prettierrc.json index 92deab90a..1da97fada 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -2,16 +2,11 @@ "trailingComma": "none", "overrides": [ { - "files": "**/*.js", + "files": ["*.js", "*.jsx", "*.ts", "*.tsx"], "options": { - "singleQuote": true - } - }, - { - "files": "**/*.mjs", - "options": { - "singleQuote": true + "bracketSameLine": true } } - ] + ], + "bracketSpacing": true }