From ddb2141eaca6e31a8e70bf21e0a16a9f7600df7a Mon Sep 17 00:00:00 2001 From: matt burnett Date: Fri, 2 May 2025 15:13:31 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B0=20chore:=20ESLint=20configuration?= =?UTF-8?q?=20to=20enforce=20Prettier=20formatting=20rules=20(#7186)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eslint.config.mjs | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index b86eb9fe6..c23393cc2 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -101,6 +101,7 @@ export default [ }, rules: { + 'prettier/prettier': 'error', 'react/react-in-jsx-scope': 'off', '@typescript-eslint/ban-ts-comment': [ @@ -121,28 +122,6 @@ export default [ // Also disable the core no-unused-vars rule globally. 'no-unused-vars': 'warn', - indent: ['error', 2, { SwitchCase: 1 }], - 'max-len': [ - 'error', - { - code: 120, - ignoreStrings: true, - ignoreTemplateLiterals: true, - ignoreComments: true, - }, - ], - 'linebreak-style': 0, - curly: ['error', 'all'], - semi: ['error', 'always'], - 'object-curly-spacing': ['error', 'always'], - 'no-multiple-empty-lines': [ - 'error', - { - max: 1, - }, - ], - 'no-trailing-spaces': 'error', - 'comma-dangle': ['error', 'always-multiline'], 'no-console': 'off', 'import/no-cycle': 'error', 'import/no-self-import': 'error', @@ -153,8 +132,6 @@ export default [ 'no-restricted-syntax': 'off', 'react/prop-types': 'off', 'react/display-name': 'off', - quotes: ['error', 'single'], - 'key-spacing': ['error', { beforeColon: false, afterColon: true }], // 'perfectionist/sort-imports': [ // 'error',