Closed g-arjones closed 4 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/linter.ts | 10 | 43 | 23.26% | ||
<!-- | Total: | 10 | 43 | 23.26% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
src/watcher.ts | 1 | 97.06% | ||
src/linter.ts | 30 | 30.16% | ||
<!-- | Total: | 31 | --> |
Totals | |
---|---|
Change from base Build 132: | -4.0% |
Covered Lines: | 1098 |
Relevant Lines: | 1444 |
Writing custom checks: https://blog.audio-tk.com/2018/03/20/writing-custom-checks-for-clang-tidy/ Examples (with tests): https://github.com/microsoft/clang-tools-extra/tree/master/clang-tidy Official docs about custom checks: https://clang.llvm.org/extra/clang-tidy/Contributing.html
Will do. Thanks for this.
I won't have time to do it this week unfortunately, big deadline and my (unforeseen) migration to 20.04 destroyed whatever extra time I had budgeted.
For the config file, I quite like the way it works with rubocop
, which allows to fine-tune style in specific legacy packages. A.k.a. looking for config files recursively.
No problem... Just let me know once you do
@doudou Feel free to reopen if there's still interest and you have the time to finish the work. I am a bit overwhelmed so I'm closing stuff I'm unlikely to finish myself. Sorry.
So, this is a proof-of-concept of what I am proposing... @doudou Could you please test and let me know what you think? You need clang-tidy AND clang (the compiler itself) installed.
TODO: