Skip to content

Commit fce9c10

Browse files
committed
fix(eslint-config): fix rulres for storybook
1 parent 982ac6e commit fce9c10

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/eslint-config/src/storybook.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ const extensions = [
1414
module.exports = {
1515
overrides: [
1616
{
17-
files: makePatterns(postfixes, extensions),
17+
files: makePatterns(postfixes, extensions).concat('.storybook/**/*'),
1818
rules: {
1919
'max-classes-per-file': 'off',
2020
'no-magic-numbers': 'off',
2121
'@typescript-eslint/no-magic-numbers': 'off',
2222
'max-nested-callbacks': 'off',
2323
'react/no-array-index-key': 'off',
24-
'react/jsx-no-bind': 'off'
24+
'react/jsx-no-bind': 'off',
25+
'import/no-default-export': 'off'
2526
}
2627
}
2728
]

0 commit comments

Comments
 (0)