22 lines
539 B
JavaScript
22 lines
539 B
JavaScript
module.exports = {
|
|||
|
|
parser: '@typescript-eslint/parser',
|
||
|
|
extends: [
|
||
|
|
'eslint:recommended',
|
||
|
|
'plugin:@typescript-eslint/recommended',
|
||
|
|
],
|
||
|
|
plugins: ['@typescript-eslint'],
|
||
|
|
env: {
|
||
|
|
node: true,
|
||
|
|
es6: true,
|
||
|
|
},
|
||
|
|
parserOptions: {
|
||
|
|
ecmaVersion: 2022,
|
||
|
|
sourceType: 'module',
|
||
|
|
},
|
||
|
|
rules: {
|
||
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
||
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
||
|
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
||
|
|
'no-console': 'off',
|
||
|
|
},
|
||
|
|
};
|