18 lines
397 B
JavaScript
18 lines
397 B
JavaScript
module.exports = {
|
|
plugins: ['unused-imports'],
|
|
parser: '@typescript-eslint/parser',
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
'unused-imports/no-unused-imports': 'error',
|
|
'unused-imports/no-unused-vars': [
|
|
'warn',
|
|
{
|
|
vars: 'all',
|
|
varsIgnorePattern: '^_',
|
|
args: 'after-used',
|
|
argsIgnorePattern: '^_',
|
|
},
|
|
],
|
|
},
|
|
};
|