Add 'no-unused-vars' rule for vars starting with _

This commit is contained in:
Eddy G
2025-06-24 23:54:59 -04:00
parent c8b520b752
commit bfd0c2b02d

View File

@@ -90,6 +90,14 @@ export default [{
allowSamePrecedence: true, allowSamePrecedence: true,
}, },
], ],
'no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],
'import/extensions': [ 'import/extensions': [
'error', 'error',
{ {