Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / applications / calendar / .eslintrc.js
blob67a6588f91c95fd57c490aa035e1959fd587f19a
1 module.exports = {
2     extends: ['@proton/eslint-config-proton'],
3     parser: '@typescript-eslint/parser',
4     parserOptions: {
5         tsconfigRootDir: __dirname,
6         project: './tsconfig.json',
7     },
8     ignorePatterns: ['.eslintrc.js'],
9     overrides: [
10         {
11             files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
12             extends: ['plugin:testing-library/react'],
13             rules: {
14                 'testing-library/no-node-access': 'warn',
15                 'testing-library/no-unnecessary-act': 'warn',
16                 'testing-library/prefer-screen-queries': 'warn',
17                 'testing-library/prefer-find-by': 'warn',
18                 'testing-library/prefer-presence-queries': 'warn',
19                 'testing-library/render-result-naming-convention': 'warn',
20                 'testing-library/no-container': 'warn',
21             },
22         },
23     ],