|
| 1 | +// THIS CODE WAS AUTOMATICALLY GENERATED |
| 2 | +// DO NOT EDIT THIS CODE BY HAND |
| 3 | +// YOU CAN REGENERATE IT USING pnpm run generate:configs |
| 4 | + |
| 5 | +import type { Linter } from 'eslint'; |
| 6 | + |
| 7 | +export default { |
| 8 | + rules: { |
| 9 | + 'testing-library/await-async-events': [ |
| 10 | + 'error', |
| 11 | + { eventModule: ['userEvent'] }, |
| 12 | + ], |
| 13 | + 'testing-library/await-async-queries': 'error', |
| 14 | + 'testing-library/await-async-utils': 'error', |
| 15 | + 'testing-library/no-await-sync-events': [ |
| 16 | + 'error', |
| 17 | + { eventModules: ['fire-event'] }, |
| 18 | + ], |
| 19 | + 'testing-library/no-await-sync-queries': 'error', |
| 20 | + 'testing-library/no-global-regexp-flag-in-query': 'error', |
| 21 | + 'testing-library/no-node-access': 'error', |
| 22 | + 'testing-library/no-promise-in-fire-event': 'error', |
| 23 | + 'testing-library/no-wait-for-multiple-assertions': 'error', |
| 24 | + 'testing-library/no-wait-for-side-effects': 'error', |
| 25 | + 'testing-library/no-wait-for-snapshot': 'error', |
| 26 | + 'testing-library/prefer-find-by': 'error', |
| 27 | + 'testing-library/prefer-presence-queries': 'error', |
| 28 | + 'testing-library/prefer-query-by-disappearance': 'error', |
| 29 | + 'testing-library/prefer-screen-queries': 'error', |
| 30 | + }, |
| 31 | +} satisfies { rules: Linter.RulesRecord }; |
0 commit comments