Skip to content

Commit

Permalink
fix(eslint-config): allow multiple components in tests/storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepolischuk committed Feb 28, 2024
1 parent 0a23035 commit 3a1b675
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/eslint-config/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,23 @@ module.exports = {
'import/no-default-export': 'off'
}
},
{
files: [
'**/test/**',
'**/tests/**',
'**/spec/**',
'**/__tests__/**',
'**/__stories__/**',
'*.test.*',
'*.spec.*',
'*.story.*',
'*.e2e.*',
'*.e2e-spec.*'
],
rules: {
'react/no-multi-comp': 'off'
}
},
{
files: ['**/__stories__/**', '*.story.*'],
rules: {
Expand Down

0 comments on commit 3a1b675

Please sign in to comment.