Skip to content

Commit

Permalink
feat(tests): stopped enforcing prop-types in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Sep 30, 2019
1 parent 2b2cc77 commit 8f5137e
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,18 @@ module.exports = {
'jsx-a11y/label-has-associated-control': ['error', {assert: 'either'}]
},

overrides: [{
files: '.storybook/*.js',
rules: {
'import/no-extraneous-dependencies': ['error', {devDependencies: true}]
overrides: [
{
files: '.storybook/*.js',
rules: {
'import/no-extraneous-dependencies': ['error', {devDependencies: true}]
}
},
{
files: '**/*-test.js',
rules: {
'react/prop-types': 'off'
}
}
}]
]
};

0 comments on commit 8f5137e

Please sign in to comment.