Skip to content
This repository was archived by the owner on Jun 2, 2022. It is now read-only.

Commit b407e65

Browse files
author
Rosen Konstantinov
committed
feat: ignore multiple stateless components per file
1 parent 8f3af23 commit b407e65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = {
2828
"react/no-did-update-set-state": 2,
2929
"react/no-direct-mutation-state": 2,
3030
"react/no-is-mounted": 2,
31-
"react/no-multi-comp": 2,
31+
"react/no-multi-comp": [ 2, { "ignoreStateless": true } ],
3232
"react/no-unknown-property": 2,
3333
"react/prefer-es6-class": 2,
3434
"react/prop-types": 2,

0 commit comments

Comments
 (0)