Enable no-unneeded-ternary ESLint rule

This commit is contained in:
valadaptive
2024-12-31 03:43:49 -05:00
parent d463677328
commit 8bf78ce9cb
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -91,6 +91,7 @@ module.exports = {
'space-infix-ops': 'error',
'no-unused-expressions': ['error', { allowShortCircuit: true, allowTernary: true }],
'no-cond-assign': 'error',
'no-unneeded-ternary': 'error',
// These rules should eventually be enabled.
'no-async-promise-executor': 'off',