Chore: Add lint rule preferring functional components, suppress existing violations (#112377)

add lint rule preferring functional components, suppress existing violations
This commit is contained in:
Ashley Harrison
2025-10-15 10:58:21 +01:00
committed by GitHub
parent bf9f6c255b
commit c9af4ebb09
5 changed files with 896 additions and 0 deletions
+1
View File
@@ -198,6 +198,7 @@
"eslint-plugin-no-barrel-files": "^1.1.1",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "5.2.0",
"eslint-plugin-react-prefer-function-component": "4.0.1",
"eslint-plugin-testing-library": "^7.0.0",
"eslint-plugin-unicorn": "^56.0.0",
"eslint-scope": "^8.1.0",