All files / eslint-config-eloquence/src/rules plugin-testing-library.js

0% Statements 0/1
100% Branches 0/0
100% Functions 0/0
0% Lines 0/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32                                                               
'use strict'
 
/**
 * Plugin for effectively writing React Testing Library tests
 *
 * 📝 https://github.com/testing-library/eslint-plugin-testing-library
 */
module.exports = {
  'testing-library/await-async-query': 'error',
  'testing-library/await-async-utils': 'error',
  'testing-library/no-await-sync-events': 'error',
  'testing-library/no-await-sync-query': 'error',
  'testing-library/no-container': 'error',
  'testing-library/no-debugging-utils': 'error',
  'testing-library/no-dom-import': ['error', 'react'],
  'testing-library/no-manual-cleanup': 'error',
  'testing-library/no-node-access': 'error',
  'testing-library/no-promise-in-fire-event': 'error',
  'testing-library/no-render-in-setup': 'error',
  'testing-library/no-wait-for-empty-callback': 'error',
  'testing-library/no-wait-for-multiple-assertions': 'error',
  'testing-library/no-wait-for-side-effects': 'error',
  'testing-library/no-wait-for-snapshot': 'error',
  'testing-library/prefer-explicit-assert': 'error',
  'testing-library/prefer-find-by': 'error',
  'testing-library/prefer-presence-queries': 'error',
  'testing-library/prefer-screen-queries': 'error',
  'testing-library/prefer-user-event': 'error',
  'testing-library/prefer-wait-for': 'error',
  'testing-library/render-result-naming-convention': 'error',
}