Allow underscore variable to be unused

This commit is contained in:
Romein van Buren 2024-07-25 13:53:59 +02:00
parent 3931d47b23
commit 473a541083
No known key found for this signature in database

View File

@ -113,7 +113,10 @@ const generic = {
ignoreRegExpLiterals: true,
},
],
'no-unused-vars': 'warn',
'no-unused-vars': [
'warn',
{ varsIgnorePattern: '\\_' },
],
'no-alert': 'error',
'no-caller': 'error',
'no-confusing-arrow': [