Ignore ESLint nested ternary (#23310)

main
Nick Schonning 2 years ago committed by GitHub
parent f8bdfa2f19
commit 1032d45644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save