From b4a07ccda7bfe968b528d5ba93625377367c40f5 Mon Sep 17 00:00:00 2001 From: Alexander Gabriel Date: Sat, 1 Jun 2024 17:15:45 +0200 Subject: [PATCH] upgrade eslint --- eslint.config.mjs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index 8ede01ddf..49900e7db 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -77,6 +77,13 @@ export default [ 'react/react-in-jsx-scope': 'off', + 'react-refresh/only-export-components': [ + 'warn', + { + allowConstantExport: true, + }, + ], + 'import/extensions': [ 'warn', 'ignorePackages',