lint/complexity/prefer-coalesce-over-empty-ternary
In the code-quality set. Safe fix.
What it does
Change ternary empty on array property with array dim fetch to coalesce operator
Configuration
[lint.rules]
"complexity/prefer-coalesce-over-empty-ternary" = "error"
To skip it in some files or lines, add an override or an ignore comment.