v0.3.8
Code the way formatters write it
Code formatters split one call over several lines, and a check that reads one line at a time missed it. Selected checks now read the whole statement: in a test where every example is re-wrapped like a formatter would, Lintsure finds 84% instead of 38%.
What's new
- Finds personal data sent to logs and analytics when the call is spread over several lines, for example an email inside an analytics identify call
- Finds unverified JWTs, uploads with no limits and other request problems written across several lines
- Text inside a multi-line AI prompt is no longer read as code
Measured, not assumed
- Turning this on for every check added mostly false alarms on 139 public projects, so it is on only for the 18 checks where it helped
- Fixed a slowdown that could make one unusual file take minutes