2024-07-27 12:55:13 +02:00
|
|
|
module.exports = {
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
parserOptions: {
|
|
|
|
project: 'tsconfig.json',
|
|
|
|
tsconfigRootDir: __dirname,
|
|
|
|
sourceType: 'module',
|
|
|
|
},
|
|
|
|
plugins: ['@typescript-eslint/eslint-plugin'],
|
|
|
|
extends: [
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
],
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true,
|
|
|
|
jest: true,
|
|
|
|
},
|
2024-07-27 13:13:12 +02:00
|
|
|
ignorePatterns: ['.eslintrc.cjs'],
|
2024-07-27 12:55:13 +02:00
|
|
|
rules: {
|
|
|
|
'@typescript-eslint/interface-name-prefix': 'off',
|
|
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
2024-07-27 13:13:12 +02:00
|
|
|
'@typescript-eslint/no-explicit-any': 'error',
|
2024-07-27 13:27:26 +02:00
|
|
|
'@typescript-eslint/no-unused-vars': [ 'error', { args: 'none' } ],
|
2024-07-27 13:31:25 +02:00
|
|
|
'@typescript-eslint/consistent-type-imports': 'error',
|
2024-07-27 13:27:26 +02:00
|
|
|
'no-unused-vars': [ 'error', { args: 'none' } ],
|
|
|
|
'indent': 'off'
|
2024-07-27 12:55:13 +02:00
|
|
|
},
|
|
|
|
};
|