mirror of
https://github.com/garraflavatra/yeslint.git
synced 2024-11-21 15:38:57 +01:00
Allow unused underscore-prefixed variables
This commit is contained in:
parent
473a541083
commit
32393d68b1
@ -115,7 +115,19 @@ const generic = {
|
||||
],
|
||||
'no-unused-vars': [
|
||||
'warn',
|
||||
{ varsIgnorePattern: '\\_' },
|
||||
{
|
||||
argsIgnorePattern: '^_',
|
||||
varsIgnorePattern: '^_',
|
||||
caughtErrorsIgnorePattern: '^_',
|
||||
},
|
||||
],
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'warn',
|
||||
{
|
||||
argsIgnorePattern: '^_',
|
||||
varsIgnorePattern: '^_',
|
||||
caughtErrorsIgnorePattern: '^_',
|
||||
},
|
||||
],
|
||||
'no-alert': 'error',
|
||||
'no-caller': 'error',
|
||||
|
Loading…
Reference in New Issue
Block a user