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 | 1x | '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-debug': 'error', 'testing-library/no-dom-import': ['error', 'react'], 'testing-library/no-manual-cleanup': 'error', 'testing-library/no-render-in-setup': 'error', 'testing-library/no-wait-for-empty-callback': 'error', 'testing-library/no-wait-for-snapshot': 'error', 'testing-library/prefer-explicit-assert': 'error', // Prefer using `findBy*` instead of `waitFor`+`getBy` 'testing-library/prefer-find-by': 'error', 'testing-library/prefer-presence-queries': 'error', 'testing-library/prefer-screen-queries': 'error', 'testing-library/prefer-wait-for': 'error', } |