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',
17 allow: ['warn', 'error'],
20 'max-classes-per-file': 'off',
21 '@typescript-eslint/consistent-type-imports': 'warn',
22 '@typescript-eslint/no-use-before-define': [
34 'max-classes-per-file': 'off',
35 'class-methods-use-this': 'off',
39 ignorePatterns: ['.eslintrc.js', 'assets/sandbox.js', 'scripts'],