From 5a362aac69aa5af820e5be6f5d439a279f67a09d Mon Sep 17 00:00:00 2001 From: Jamie Harding Date: Tue, 1 Oct 2024 12:03:24 +0200 Subject: [PATCH] format linter --- eslint.config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 528a7bcf..93a6b682 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -41,7 +41,10 @@ export default [ reactPlugin.configs.flat['jsx-runtime'], { rules: { - 'no-console': process.env.NODE_ENV === 'production' || process.env.CI ? ["error", { allow: ["warn", "error"] }] : 'off', + 'no-console': + process.env.NODE_ENV === 'production' || process.env.CI + ? ['error', { allow: ['warn', 'error'] }] + : 'off', 'no-trailing-spaces': 'error', eqeqeq: 'off', 'prefer-const': ['error', { ignoreReadBeforeAssign: true }], @@ -56,7 +59,7 @@ export default [ '@typescript-eslint/no-empty-object-type': 'off', 'no-case-declarations': 'off', 'react/no-unescaped-entities': 'off', - 'no-unsafe-optional-chaining': 'off', + 'no-unsafe-optional-chaining': 'off' // 'prefer-const': 'off', } }