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 }