Eslint rules
Enforce semis and remove unneeded padded blocks
Merge request reports
Activity
mentioned in commit 0065e6f2
A rule to detect
=+
may be a good idea.Edited by Pregmodder
Please register or sign in to reply
Enforce semis and remove unneeded padded blocks
Merge details
We need something for nested ternary functions too. As in ternarys in ternarys.
merged
mentioned in commit 0065e6f2
Remove, ternary in ternary is fine, it just needs to be well formatted or else they will become confusing messes.
Oh, unless you are talking about a single ternary nested in a check. Those are 100% fine and needed in some cases.
I do not like them being used for strings in printed text though. That annoys me.
A rule to detect =+
may be a good idea.