mirror of
https://github.com/garraflavatra/yeslint.git
synced 2024-11-21 23:49:05 +01:00
Allow underscore variable to be unused
This commit is contained in:
parent
3931d47b23
commit
473a541083
@ -113,7 +113,10 @@ const generic = {
|
|||||||
ignoreRegExpLiterals: true,
|
ignoreRegExpLiterals: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
'no-unused-vars': 'warn',
|
'no-unused-vars': [
|
||||||
|
'warn',
|
||||||
|
{ varsIgnorePattern: '\\_' },
|
||||||
|
],
|
||||||
'no-alert': 'error',
|
'no-alert': 'error',
|
||||||
'no-caller': 'error',
|
'no-caller': 'error',
|
||||||
'no-confusing-arrow': [
|
'no-confusing-arrow': [
|
||||||
|
Loading…
Reference in New Issue
Block a user