From 49f9fbea91d06d8f7cf90d5bf8f03a0afc1b6ed2 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Mon, 5 Dec 2022 14:25:24 +0100 Subject: [PATCH] refactor: aligned code styles through projects (#192) * refactor: aligned code styles through projects * Update .prettierrc.json * fix: this is not an option for the config --- .eslintrc.js | 1 - .prettierrc.json | 13 ++++--------- 2 files changed, 4 insertions(+), 10 deletions(-) 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' } diff --git a/.prettierrc.json b/.prettierrc.json index 92deab90ae..1da97fada5 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 }