Skip to content

Commit 1521e1a

Browse files
authored
Add missing react- prefix (#23)
1 parent 5c2f5c8 commit 1521e1a

File tree

1 file changed

+2
-1
lines changed
  • packages/eslint-plugin-react-prefer-function-component/src

1 file changed

+2
-1
lines changed

packages/eslint-plugin-react-prefer-function-component/src/config.mts

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const config = {
1414
"react-prefer-function-component": plugin,
1515
},
1616
rules: {
17-
"react-prefer-function-component/prefer-function-component": "error",
17+
"react-prefer-function-component/react-prefer-function-component":
18+
"error",
1819
},
1920
},
2021
},

0 commit comments

Comments
 (0)