From 839458154478f67b6d78a297b51c0f07158ec507 Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Sat, 3 Feb 2024 23:32:58 +0100 Subject: [PATCH] Disable react/function-component-definition rule in ESLint configuration --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 2e243083..d0de28b5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -56,6 +56,7 @@ module.exports = { "@typescript-eslint/no-unused-vars": "error", 'react/jsx-filename-extension': [2, { 'extensions': ['.js', '.jsx', '.ts', '.tsx'] }], "no-shadow": "off", + "react/function-component-definition": "off", }, parserOptions: { ecmaVersion: 2020,