Tools: Add eslint rule "no-unneeded-ternary"

This commit is contained in:
Laurent Cozic
2023-02-21 17:19:19 +00:00
parent 08c9a25182
commit 9e73d3590b
4 changed files with 15 additions and 14 deletions
+1
View File
@@ -92,6 +92,7 @@ module.exports = {
// "react-hooks/exhaustive-deps": "warn",
'promise/prefer-await-to-then': 'error',
'no-unneeded-ternary': 'error',
// -------------------------------
// Formatting