2022-01-23 21:02:58 +00:00
|
|
|
module.exports = {
|
2020-07-24 19:47:41 +00:00
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
parserOptions: {
|
|
|
|
project: 'tsconfig.json',
|
|
|
|
sourceType: 'module',
|
2022-01-23 21:02:58 +00:00
|
|
|
},
|
2020-07-24 19:47:41 +00:00
|
|
|
plugins: ['@typescript-eslint/eslint-plugin'],
|
|
|
|
extends: [
|
2022-01-23 21:02:58 +00:00
|
|
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
2020-07-24 19:47:41 +00:00
|
|
|
'prettier',
|
|
|
|
'prettier/@typescript-eslint',
|
2022-01-23 21:02:58 +00:00
|
|
|
],
|
2020-07-24 19:47:41 +00:00
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true,
|
|
|
|
jest: true,
|
2022-01-23 21:02:58 +00:00
|
|
|
},
|
2020-07-24 19:47:41 +00:00
|
|
|
rules: {
|
|
|
|
'@typescript-eslint/interface-name-prefix': 'off',
|
|
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
2022-01-23 21:02:58 +00:00
|
|
|
'@typescript-eslint/no-unused-vars': ['warn', { "argsIgnorePattern": "^_+$" }],
|
2020-07-24 19:47:41 +00:00
|
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
|
|
},
|
|
|
|
};
|