Ignore ESLint nested ternary (#23310)

This commit is contained in:
Nick Schonning 2023-01-30 00:17:46 -05:00 committed by GitHub
parent f8bdfa2f19
commit 1032d45644
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,6 @@ module.exports = {
},
],
'no-empty': 'off',
'no-nested-ternary': 'warn',
'no-restricted-properties': [
'error',
{ property: 'substring', message: 'Use .slice instead of .substring.' },