Releases: Tomcc/acpplinter
Releases · Tomcc/acpplinter
Updates & minor bugfixes
- removed cargo.lock from the repo
- updated dependencies to latest
- updated edition to 2018
- fixed a panic if a root folder is missing; now it just errors out
- fixed line numbers being off if the file contains a multiline string
- fixed some warnings being lost but only if the file had other warnings too
- removed custom walkdir
Fixed error code when JSON parsing fails
acpplinter
was returning an "ok" result if the JSON is malformed and no linting is performed.
This was a very bad thing.
Sped up execution by combining all those regex vectors
There was no reason to run each regex in the list as a separate regex - they can be combined into one with a |, which is much faster because the DFA state machine only needs to visit the first few characters to know if any one branch doesn't need further processing.
Several bugfixes & updated Rust
The linter was extremely prone to eat up warnings due to failing to properly escape string and character sequences.
I had to add full support for raw string literals and characters.
Also added a few options to help test the tool.
Added "expected_fails" property, speed up, updated dependencies
0.5 turns out you can just grab the version for Clap from Cargo! cool. Al…
Fixed a nasty bug with escapes
0.3 oops, an issue with escape chars made some files being completely inv…
Added "exclude_paths" to rules
0.2 add "exclude_paths" feature to enable a rule everywhere except in som…
First Relase
First release for use on the build server, Win only binary for now