1 const isFixMode = process.argv.includes('--fix')
3 extends: ['@proton/eslint-config-proton'],
4 parser: '@typescript-eslint/parser',
6 tsconfigRootDir: __dirname,
7 project: './tsconfig.json',
10 'react/prop-types': 'off',
12 'react-hooks/exhaustive-deps': 'warn',
14 '@typescript-eslint/lines-between-class-members': 'off',
15 '@typescript-eslint/naming-convention': 'off',
16 '@typescript-eslint/no-unused-vars': 'off',
17 '@typescript-eslint/no-use-before-define': 'off',
21 allow: ['warn', 'error', 'trace'],
24 'no-fallthrough': 'error',
25 'max-classes-per-file': 'off',
26 '@typescript-eslint/no-use-before-define': [
38 'max-classes-per-file': 'off',
39 'class-methods-use-this': 'off',
43 ignorePatterns: ['.eslintrc.js'],