diff --git a/configs/generic.js b/configs/generic.js index e8f35d2..536144b 100644 --- a/configs/generic.js +++ b/configs/generic.js @@ -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': [