Skip to content

Commit e76454b

Browse files
committed
feat(config/eslintrc): allow exports from test helpers/utils
1 parent 172933b commit e76454b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: src/config/helpers/eslint.js

+6
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ const buildConfig = ({withReact = false} = {}) => {
7171
'no-empty': ['error', {allowEmptyCatch: true}],
7272
},
7373
},
74+
{
75+
files: ['**/*/__tests__/helpers/**/*', '**/*/__tests__/utils/**/*'],
76+
rules: {
77+
'jest/no-export': 'off',
78+
},
79+
},
7480
],
7581
}
7682
}

0 commit comments

Comments
 (0)