From a7366f4d2afac1ba8ebcbc7550a5c081caf0835d Mon Sep 17 00:00:00 2001 From: 1ilit <1ilit@proton.me> Date: Sun, 24 Aug 2025 21:51:40 +0400 Subject: [PATCH] suppress eslint only-export-components rule --- .eslintrc.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 49a28be..a6ddd3d 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -6,7 +6,7 @@ module.exports = { "plugin:react/recommended", "plugin:react/jsx-runtime", "plugin:react-hooks/recommended", - "prettier" + "prettier", ], ignorePatterns: ["dist", ".eslintrc.cjs"], parserOptions: { ecmaVersion: "latest", sourceType: "module" }, @@ -18,5 +18,6 @@ module.exports = { { allowConstantExport: true }, ], "react/prop-types": 0, + "react-refresh/only-export-components": "off", }, };