23 lines
647 B
JavaScript
23 lines
647 B
JavaScript
module.exports = {
|
|
env: {
|
|
node: true,
|
|
},
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaVersion: 8,
|
|
},
|
|
plugins: ['@typescript-eslint', 'prettier'],
|
|
rules: {
|
|
'prettier/prettier': ['error'],
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
'@typescript-eslint/ban-ts-comment': 'off',
|
|
'no-empty': 'off',
|
|
'no-case-declarations': 'off',
|
|
'no-useless-escape': 'off',
|
|
'no-irregular-whitespace': 'off',
|
|
},
|
|
};
|