Disable the use of nested ternary operators.

This commit is contained in:
EliteMasterEric
2026-04-06 04:18:09 -06:00
committed by Hundrec
parent a2cd0ef4ca
commit 02c49ba645
+8
View File
@@ -50,6 +50,14 @@
"props": { "severity": "INFO" },
"type": "AvoidStarImport"
},
{
"comment": "If enabled, prevents ternary operators from being nested.",
"props": {
"severity": "INFO",
"maxDepth": 1
},
"type": "AvoidTernaryOperator"
},
{
"comment": "If enabled, prevents conditional compilation from crossing blocks. This prevents the case where conditional compilation could potentially create invalid syntax.",
"props": { "severity": "INFO" },