From 7faacffbf7cbadfbd0d429ee5ee7a4ba008e7ef1 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Tue, 22 Nov 2022 10:40:26 +0100 Subject: [PATCH 1/3] refactor: aligned code styles through projects --- .eslintrc.js | 1 - 1 file changed, 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index e328ac5081..372c97ccf2 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -4,7 +4,6 @@ module.exports = { es2021: true, node: true }, - extends: ['eslint:recommended'], rules: { 'no-console': 'error' } From 5b72e6d5d8f09b01ee988e982df093507236f264 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Tue, 22 Nov 2022 10:41:51 +0100 Subject: [PATCH 2/3] Update .prettierrc.json --- .prettierrc.json | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.prettierrc.json b/.prettierrc.json index 92deab90ae..15e18d74f1 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 601fa8960dc0a748a5e318496e132fe4cd4498f1 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Wed, 23 Nov 2022 17:58:11 +0100 Subject: [PATCH 3/3] 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 15e18d74f1..1da97fada5 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -8,6 +8,5 @@ } } ], - "editorconfig": true, "bracketSpacing": true }