mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-27 08:18:08 +03:00
27 lines
719 B
JavaScript
27 lines
719 B
JavaScript
|
module.exports = {
|
||
|
parser: '@typescript-eslint/parser',
|
||
|
parserOptions: {
|
||
|
project: 'tsconfig.json',
|
||
|
sourceType: 'module',
|
||
|
},
|
||
|
plugins: ['@typescript-eslint/eslint-plugin'],
|
||
|
extends: [
|
||
|
'plugin:@typescript-eslint/recommended',
|
||
|
'plugin:prettier/recommended',
|
||
|
],
|
||
|
root: true,
|
||
|
env: {
|
||
|
node: true,
|
||
|
jest: true,
|
||
|
},
|
||
|
ignorePatterns: ['.eslintrc.js'],
|
||
|
rules: {
|
||
|
'@typescript-eslint/interface-name-prefix': 'off',
|
||
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
||
|
'@typescript-eslint/no-explicit-any': 'off',
|
||
|
'@typescript-eslint/no-use-before-define': 'off',
|
||
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
||
|
'@typescript-eslint/ban-types': 'off',
|
||
|
},
|
||
|
};
|