Skip to content

Commit

Permalink
fix(eslint-config): fix rulres for storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Mar 10, 2024
1 parent 982ac6e commit fce9c10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/eslint-config/src/storybook.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ const extensions = [
module.exports = {
overrides: [
{
files: makePatterns(postfixes, extensions),
files: makePatterns(postfixes, extensions).concat('.storybook/**/*'),
rules: {
'max-classes-per-file': 'off',
'no-magic-numbers': 'off',
'@typescript-eslint/no-magic-numbers': 'off',
'max-nested-callbacks': 'off',
'react/no-array-index-key': 'off',
'react/jsx-no-bind': 'off'
'react/jsx-no-bind': 'off',
'import/no-default-export': 'off'
}
}
]
Expand Down

0 comments on commit fce9c10

Please sign in to comment.