Skip to content

Commit

Permalink
feat(jest): enable ignoreTopLevelDescribe for lowercase-name
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jun 25, 2020
1 parent 1368a62 commit f4650a5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ const config = {
// todo: TBD - this will need adjusting for react-testing-library
{ assertFunctionNames: ['expect'] }
],
'jest/lowercase-name': [
'error', // todo switch to top flag once merged
{ ignore: ['describe'] }
],
'jest/lowercase-name': ['error', { ignoreTopLevelDescribe: true }],
'jest/no-conditional-expect': 'error',
'jest/no-deprecated-functions': 'error',
'jest/no-if': 'error',
Expand Down

0 comments on commit f4650a5

Please sign in to comment.