MOBILE-3609 lint: Allow underscores in private
parent
07a389be6b
commit
159613bdb5
|
@ -102,6 +102,12 @@ const appConfig = {
|
|||
selector: 'property',
|
||||
format: ['camelCase'],
|
||||
},
|
||||
{
|
||||
selector: 'property',
|
||||
modifiers: ['private'],
|
||||
format: ['camelCase'],
|
||||
leadingUnderscore: 'allow',
|
||||
},
|
||||
],
|
||||
'@typescript-eslint/no-empty-function': 'error',
|
||||
'@typescript-eslint/no-empty-interface': 'off',
|
||||
|
@ -201,7 +207,6 @@ const appConfig = {
|
|||
'no-new-wrappers': 'error',
|
||||
'no-sequences': 'error',
|
||||
'no-trailing-spaces': 'error',
|
||||
'no-underscore-dangle': 'error',
|
||||
'no-unused-labels': 'error',
|
||||
'no-var': 'error',
|
||||
'object-curly-spacing': ['error', 'always'],
|
||||
|
|
Loading…
Reference in New Issue