mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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: '^_',
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
};
|