1 | module.exports = {
|
2 | parser: '@typescript-eslint/parser',
|
3 | parserOptions: {
|
4 | project: 'tsconfig.json',
|
5 | sourceType: 'module',
|
6 | },
|
7 | plugins: ['@typescript-eslint/eslint-plugin'],
|
8 | extends: [
|
9 | 'plugin:@typescript-eslint/eslint-recommended',
|
10 | 'plugin:@typescript-eslint/recommended',
|
11 | 'prettier',
|
12 | 'prettier/@typescript-eslint',
|
13 | ],
|
14 | root: true,
|
15 | env: {
|
16 | node: true,
|
17 | jest: true,
|
18 | },
|
19 | rules: {
|
20 | '@typescript-eslint/interface-name-prefix': 'off',
|
21 | '@typescript-eslint/explicit-function-return-type': 'off',
|
22 | '@typescript-eslint/no-explicit-any': 'off',
|
23 | '@typescript-eslint/no-use-before-define': 'off',
|
24 | '@typescript-eslint/no-non-null-assertion': 'off',
|
25 | },
|
26 | };
|