| 1 | "use strict";
|
|---|
| 2 | module.exports = {
|
|---|
| 3 | plugins: ['testing-library'],
|
|---|
| 4 | rules: {
|
|---|
| 5 | 'testing-library/await-async-query': 'error',
|
|---|
| 6 | 'testing-library/await-async-utils': 'error',
|
|---|
| 7 | 'testing-library/no-await-sync-query': 'error',
|
|---|
| 8 | 'testing-library/no-container': 'error',
|
|---|
| 9 | 'testing-library/no-debugging-utils': 'error',
|
|---|
| 10 | 'testing-library/no-dom-import': ['error', 'angular'],
|
|---|
| 11 | 'testing-library/no-node-access': 'error',
|
|---|
| 12 | 'testing-library/no-promise-in-fire-event': 'error',
|
|---|
| 13 | 'testing-library/no-render-in-setup': 'error',
|
|---|
| 14 | 'testing-library/no-wait-for-empty-callback': 'error',
|
|---|
| 15 | 'testing-library/no-wait-for-multiple-assertions': 'error',
|
|---|
| 16 | 'testing-library/no-wait-for-side-effects': 'error',
|
|---|
| 17 | 'testing-library/no-wait-for-snapshot': 'error',
|
|---|
| 18 | 'testing-library/prefer-find-by': 'error',
|
|---|
| 19 | 'testing-library/prefer-presence-queries': 'error',
|
|---|
| 20 | 'testing-library/prefer-query-by-disappearance': 'error',
|
|---|
| 21 | 'testing-library/prefer-screen-queries': 'error',
|
|---|
| 22 | 'testing-library/render-result-naming-convention': 'error',
|
|---|
| 23 | },
|
|---|
| 24 | };
|
|---|