Skip to content

Commit 8ed122e

Browse files
committed
Small fix
1 parent e427eea commit 8ed122e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/require-optimization.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ module.exports = {
168168
ArrowFunctionExpression(node) {
169169
// Skip if the function is declared in the class
170170
if (isFunctionInClass()) {
171-
return true;
171+
return;
172172
}
173173
// Stateless Functional Components cannot be optimized (yet)
174174
markSCUAsDeclared(node);

0 commit comments

Comments
 (0)