Skip to content

Commit 3283f6c

Browse files
committed
perf(lib/react.js): react arrow-function naming
1 parent efb5d27 commit 3283f6c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/react.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ module.exports = {
88
"react/jsx-props-no-spreading": 0,
99
"react/prop-types": 0,
1010
"react-hooks/exhaustive-deps": 0,
11+
"react/function-component-definition": [
12+
"error",
13+
{ "namedComponents": "arrow-function" }
14+
]
1115
};

0 commit comments

Comments
 (0)