tools
tools copied to clipboard
🐛 `noArrayIndexKey` ignores valid cases
trafficstars
Environment information
Rome playground
What happened?
- Open this playground
- check diagnostics, notice that the returned parts are ignored.
Expected result
return should not break the rule.
Code of Conduct
- [X] I agree to follow Rome's Code of Conduct
Uh, that's odd.
Issue: noArrayIndexKey ignores expressions in return statements (and potentially other statements?)