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 'max-classes-per-file': 'off',
25 // '@typescript-eslint/no-use-before-define': [
37 'max-classes-per-file': 'off',
38 'class-methods-use-this': 'off',
42 ignorePatterns: ['.eslintrc.js'],