mirror of
https://github.com/garraflavatra/yeslint.git
synced 2025-06-28 04:55:11 +00:00
Compare commits
3 Commits
v1.1.0
...
32393d68b1
Author | SHA1 | Date | |
---|---|---|---|
32393d68b1 | |||
473a541083 | |||
3931d47b23 |
@ -113,7 +113,22 @@ const generic = {
|
||||
ignoreRegExpLiterals: true,
|
||||
},
|
||||
],
|
||||
'no-unused-vars': 'warn',
|
||||
'no-unused-vars': [
|
||||
'warn',
|
||||
{
|
||||
argsIgnorePattern: '^_',
|
||||
varsIgnorePattern: '^_',
|
||||
caughtErrorsIgnorePattern: '^_',
|
||||
},
|
||||
],
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'warn',
|
||||
{
|
||||
argsIgnorePattern: '^_',
|
||||
varsIgnorePattern: '^_',
|
||||
caughtErrorsIgnorePattern: '^_',
|
||||
},
|
||||
],
|
||||
'no-alert': 'error',
|
||||
'no-caller': 'error',
|
||||
'no-confusing-arrow': [
|
||||
@ -123,10 +138,6 @@ const generic = {
|
||||
'no-console': 'off',
|
||||
'no-div-regex': 'error',
|
||||
'no-duplicate-imports': 'error',
|
||||
'import/extensions': [
|
||||
'warn',
|
||||
'ignorePackages',
|
||||
],
|
||||
'no-extend-native': 'error',
|
||||
'no-extra-label': 'error',
|
||||
'no-fallthrough': 'off',
|
||||
|
Reference in New Issue
Block a user