Commit Graph

8 Commits

Author SHA1 Message Date
Ada Alakbarova adff9baeb3 fix(zero_repeat_side_effects): better identify exprs with side effects 2025-10-04 15:22:52 +02:00
Ada Alakbarova 24befed727 clean-up
- inline `array_span_lint`
- use `match` instead of `if-let`
- give a more descriptive help message
2025-10-04 15:16:54 +02:00
Guillaume Gomez f666fd6417 Update UI tests 2025-02-15 13:38:16 +01:00
Bruce Mitchener cf4270d13b Reduce typo count. 2024-07-20 12:50:36 +07:00
Lzu Tao 3c50e7af5a Lint only if array length is a literal zero. 2024-07-18 12:22:08 +07:00
Lzu Tao 5540060d5d Skip linting if array length is from a macro. 2024-07-17 18:33:36 +07:00
Lzu Tao c65ddb8728 Add regression test for issue 13110 2024-07-17 18:32:18 +07:00
Jacherr 0e59259add add new lint zero_repeat_side_effects 2024-03-09 18:53:14 +00:00