You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.2 KiB
27 lines
1.2 KiB
2 years ago
|
"use strict";
|
||
|
module.exports = {
|
||
|
plugins: ['testing-library'],
|
||
|
rules: {
|
||
|
'testing-library/await-async-query': 'error',
|
||
|
'testing-library/await-async-utils': 'error',
|
||
|
'testing-library/await-fire-event': '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', 'marko'],
|
||
|
'testing-library/no-node-access': 'error',
|
||
|
'testing-library/no-promise-in-fire-event': 'error',
|
||
|
'testing-library/no-render-in-setup': 'error',
|
||
|
'testing-library/no-unnecessary-act': '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-find-by': 'error',
|
||
|
'testing-library/prefer-presence-queries': 'error',
|
||
|
'testing-library/prefer-query-by-disappearance': 'error',
|
||
|
'testing-library/prefer-screen-queries': 'error',
|
||
|
'testing-library/render-result-naming-convention': 'error',
|
||
|
},
|
||
|
};
|