31 lines
724 B
JavaScript
31 lines
724 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
project: 'tsconfig.json',
|
|
sourceType: 'module',
|
|
},
|
|
"plugins": [
|
|
"nestjs",
|
|
"@typescript-eslint",
|
|
"unused-imports"
|
|
],
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:nestjs/recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
'prettier',
|
|
],
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
jest: true,
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/interface-name-prefix': 'off',
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
},
|
|
};
|