| 1 | module.exports = { |
| 2 | parser: '@typescript-eslint/parser', |
| 3 | parserOptions: { |
| 4 | project: 'tsconfig.json', |
| 5 | tsconfigRootDir: __dirname, |
| 6 | sourceType: 'module', |
| 7 | }, |
| 8 | plugins: ['@typescript-eslint/eslint-plugin'], |
| 9 | extends: [ |
| 10 | 'plugin:@typescript-eslint/recommended', |
| 11 | 'plugin:prettier/recommended', |
| 12 | ], |
| 13 | root: true, |
| 14 | env: { |
| 15 | node: true, |
| 16 | jest: true, |
| 17 | }, |
| 18 | ignorePatterns: ['.eslintrc.js'], |
| 19 | rules: { |
| 20 | '@typescript-eslint/ban-ts-comment': 'off', |
| 21 | '@typescript-eslint/interface-name-prefix': 'off', |
| 22 | '@typescript-eslint/explicit-function-return-type': 'off', |
| 23 | '@typescript-eslint/explicit-module-boundary-types': 'off', |
| 24 | '@typescript-eslint/no-explicit-any': 'off', |
| 25 | "prettier/prettier": ["error", { "endOfLine": "auto" }] |
| 26 | }, |
| 27 | }; |
| 28 |