19 lines
457 B
JavaScript
19 lines
457 B
JavaScript
module.exports = {
|
|||
|
|
root: true,
|
||
|
|
env: {
|
||
|
|
node: true,
|
||
|
|
es2022: true,
|
||
|
|
},
|
||
|
|
parser: '@typescript-eslint/parser',
|
||
|
|
parserOptions: {
|
||
|
|
project: './tsconfig.json',
|
||
|
|
sourceType: 'module',
|
||
|
|
},
|
||
|
|
plugins: ['@typescript-eslint'],
|
||
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
||
|
|
ignorePatterns: ['dist', 'node_modules'],
|
||
|
|
rules: {
|
||
|
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
||
|
|
},
|
||
|
|
};
|