module.exports = { parser: '@typescript-eslint/parser', parserOptions: { project: 'tsconfig.json', sourceType: 'module', }, plugins: ['@typescript-eslint', 'import'], extends: [ 'plugin:import/recommended', 'plugin:import/typescript', 'airbnb-typescript/base', 'plugin:@typescript-eslint/recommended', ], root: true, env: { node: true, jest: true, }, rules: { '@typescript-eslint/interface-name-prefix': 'off', '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/no-explicit-any': 'warn', '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }], '@typescript-eslint/no-use-before-define': 'off', '@typescript-eslint/indent': 'off', '@typescript-eslint/naming-convention': 'off', '@typescript-eslint/ban-ts-comment': 'warn', '@typescript-eslint/ban-types': 'warn', 'import/extensions': 'off', 'import/no-extraneous-dependencies': ['warn', { devDependencies: ['**/*.test.ts', '**/*.spec.ts', '**/tests/**'] }], 'import/prefer-default-export': 'off', 'class-methods-use-this': 'off', 'no-useless-constructor': 'off', '@typescript-eslint/no-useless-constructor': 'off', '@typescript-eslint/default-param-last': 'off', '@typescript-eslint/no-empty-function': 'off', '@typescript-eslint/no-redeclare': 'warn', '@typescript-eslint/no-namespace': 'off', 'no-var': 'warn', 'import/export': 'warn', }, };