2 extends: ['@proton/eslint-config-proton'],
3 parser: '@typescript-eslint/parser',
5 tsconfigRootDir: __dirname,
6 project: './tsconfig.json',
10 'no-nested-ternary': 'off',
11 '@typescript-eslint/no-misused-promises': 'off',
13 ignorePatterns: ['.eslintrc.js', 'assets/sandbox.js'],
16 files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
17 extends: ['plugin:testing-library/react'],
19 'testing-library/no-node-access': 'warn',
20 'testing-library/no-unnecessary-act': 'warn',
21 'testing-library/prefer-screen-queries': 'warn',
22 'testing-library/prefer-find-by': 'warn',
23 'testing-library/prefer-presence-queries': 'warn',
24 'testing-library/render-result-naming-convention': 'warn',
25 'testing-library/no-container': 'warn',