Skip to content

Commit cc80709

Browse files
committed
fix: loosen unstable components
1 parent 4d82abe commit cc80709

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • packages/eslint-config-4catalyzer-react

packages/eslint-config-4catalyzer-react/rules.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ module.exports = {
1212
},
1313
],
1414

15+
// Too many components take functions that look like Components as props
16+
'react/no-unstable-nested-components': ['error', { allowAsProps: true }],
17+
1518
// We don't care which kind of function you use
1619
'react/function-component-definition': 'off',
1720

0 commit comments

Comments
 (0)