UNPKG

angular-unit-test-helper

Version:

Helper functions to help write unit tests in Angular using mocks and spies

40 lines (39 loc) 1.21 kB
module.exports = { parser: '@typescript-eslint/parser', parserOptions: { project: ['./tsconfig.src.json', './tests/tsconfig.spec.json'], tsconfigRootDir: __dirname, sourceType: 'module', }, plugins: ['@typescript-eslint'], extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:@typescript-eslint/strict', ], root: true, env: { node: true, mongo: true, }, rules: { '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-unsafe-assignment': 'off', '@typescript-eslint/no-unsafe-member-access': 'off', '@typescript-eslint/no-unsafe-return': 'off', '@typescript-eslint/no-unsafe-call': 'off', '@typescript-eslint/no-unsafe-return': 'off', '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/no-misused-promises': 'off', '@typescript-eslint/restrict-template-expressions': 'off', '@typescript-eslint/no-floating-promises': 'off', '@typescript-eslint/require-await': 'off', '@typescript-eslint/unbound-method': [ 'error', { ignoreStatic: true, }, ], }, }