infra: enable no-unneeded-ternary eslint rule (#3257)

This commit is contained in:
Alexandr Garbuzov 2023-09-19 12:41:10 +03:00 committed by GitHub
parent 772ef35fb1
commit eb787af325
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,7 +203,7 @@
// "no-ternary": "off",
// "no-trailing-spaces": "warn",
// "no-underscore-dangle": "warn",
// "no-unneeded-ternary": "warn",
"no-unneeded-ternary": "warn",
// "object-curly-spacing": [ "warn", "always" ],
// "one-var": "off",
// "operator-assignment": [ "warn", "never" ],