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/no-use-before-define': [
33 'max-classes-per-file': 'off',
34 'class-methods-use-this': 'off',
38 ignorePatterns: ['.eslintrc.js', 'assets/sandbox.js', 'pkg/'],