Skip to content

Commit

Permalink
fix(eslint-bod): temporary remove eslint-plugin-testing-library
Browse files Browse the repository at this point in the history
  • Loading branch information
sabertazimi committed Oct 16, 2021
1 parent 39d7496 commit 36b835f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/eslint-config-bod/jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require('@rushstack/eslint-patch/modern-module-resolution');
// and we try not to use "ERROR" level at all.

module.exports = {
plugins: ['jest', 'testing-library'],
plugins: ['jest'],
overrides: [
{
files: ['**/__tests__/**/*', '**/*.{spec,test}.*'],
Expand All @@ -35,14 +35,6 @@ module.exports = {
'jest/valid-expect': 'error',
'jest/valid-expect-in-promise': 'error',
'jest/valid-title': 'warn',

// https://github.com/testing-library/eslint-plugin-testing-library
'testing-library/await-async-query': 'error',
'testing-library/await-async-utils': 'error',
'testing-library/no-await-sync-query': 'warn',
'testing-library/no-dom-import': ['error', 'react'],
'testing-library/no-wait-for-empty-callback': 'error',
'testing-library/no-wait-for-snapshot': 'error',
},
},
],
Expand Down

0 comments on commit 36b835f

Please sign in to comment.