source: frontend/node_modules/eslint-plugin-testing-library/configs/react.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 1.2 KB
Line 
1"use strict";
2module.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', 'react'],
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-unnecessary-act': 'error',
15 'testing-library/no-wait-for-empty-callback': 'error',
16 'testing-library/no-wait-for-multiple-assertions': 'error',
17 'testing-library/no-wait-for-side-effects': 'error',
18 'testing-library/no-wait-for-snapshot': 'error',
19 'testing-library/prefer-find-by': 'error',
20 'testing-library/prefer-presence-queries': 'error',
21 'testing-library/prefer-query-by-disappearance': 'error',
22 'testing-library/prefer-screen-queries': 'error',
23 'testing-library/render-result-naming-convention': 'error',
24 },
25};
Note: See TracBrowser for help on using the repository browser.