mirror of
https://github.com/garraflavatra/yeslint.git
synced 2025-07-09 10:04:04 +00:00
Compare commits
3 Commits
v1.1.0
...
32393d68b1
Author | SHA1 | Date | |
---|---|---|---|
32393d68b1 | |||
473a541083 | |||
3931d47b23 |
@ -113,7 +113,22 @@ const generic = {
|
|||||||
ignoreRegExpLiterals: true,
|
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-alert': 'error',
|
||||||
'no-caller': 'error',
|
'no-caller': 'error',
|
||||||
'no-confusing-arrow': [
|
'no-confusing-arrow': [
|
||||||
@ -123,10 +138,6 @@ const generic = {
|
|||||||
'no-console': 'off',
|
'no-console': 'off',
|
||||||
'no-div-regex': 'error',
|
'no-div-regex': 'error',
|
||||||
'no-duplicate-imports': 'error',
|
'no-duplicate-imports': 'error',
|
||||||
'import/extensions': [
|
|
||||||
'warn',
|
|
||||||
'ignorePackages',
|
|
||||||
],
|
|
||||||
'no-extend-native': 'error',
|
'no-extend-native': 'error',
|
||||||
'no-extra-label': 'error',
|
'no-extra-label': 'error',
|
||||||
'no-fallthrough': 'off',
|
'no-fallthrough': 'off',
|
||||||
|
Reference in New Issue
Block a user