style-no-unused-vars提示 warn

This commit is contained in:
Huang 2022-07-28 14:35:23 +08:00
parent fde4a4dfbe
commit 9005120077

View File

@ -64,14 +64,14 @@ module.exports = {
'@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-unused-vars': [ '@typescript-eslint/no-unused-vars': [
'error', 'warn',
{ {
argsIgnorePattern: '^_', argsIgnorePattern: '^_',
varsIgnorePattern: '^_', varsIgnorePattern: '^_',
}, },
], ],
'no-unused-vars': [ 'no-unused-vars': [
'error', 'warn',
{ {
argsIgnorePattern: '^_', argsIgnorePattern: '^_',
varsIgnorePattern: '^_', varsIgnorePattern: '^_',