Update .eslintrc.js : no-unneeded-ternary
This commit is contained in:
parent
5c46093d8b
commit
b8f194ef8c
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ module.exports = {
|
|||
'@typescript-eslint/no-shadow': ['error'],
|
||||
'no-throw-literal': ['error'],
|
||||
'no-trailing-spaces': ['error'],
|
||||
'no-unneeded-ternary': ['error'],
|
||||
'@typescript-eslint/no-unneeded-ternary': ['error'],
|
||||
'no-unused-expressions': ['off'],
|
||||
'@typescript-eslint/no-unused-expressions': ['error', { 'allowShortCircuit': true, 'allowTernary': true, 'allowTaggedTemplates': true }],
|
||||
'no-unused-private-class-members': ['error'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue