Closed russplaysguitar closed 11 years ago
That gives a runtime error if one tries it, so not really in scope for a code quality tool: it goes without saying, surely, that the code needs to be actually valid.
good point, it is a waste of energy to include things that already give a runtime error
Attempts to access array index of zero (or negative values) should fail lint.
Example failures:
I can't think of any time when you'd even write
[0]
(or have a negative constant index) in cfml.