2021-09-07 18:25:31 +00:00
|
|
|
module.exports = {
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
parserOptions: {
|
2023-07-16 23:26:22 +00:00
|
|
|
project: true,
|
2021-09-07 18:25:31 +00:00
|
|
|
sourceType: 'module',
|
|
|
|
},
|
|
|
|
plugins: ['@typescript-eslint/eslint-plugin'],
|
|
|
|
extends: [
|
|
|
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
'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',
|
|
|
|
'@typescript-eslint/no-use-before-define': 'off',
|
|
|
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
2023-11-14 15:26:43 +00:00
|
|
|
|
|
|
|
'@typescript-eslint/no-import-type-side-effects': 'error',
|
|
|
|
'@typescript-eslint/consistent-type-imports': 'error',
|
|
|
|
'@typescript-eslint/consistent-type-exports': 'error',
|
2021-09-07 18:25:31 +00:00
|
|
|
},
|
|
|
|
};
|