peczenyj / ttempdir

ttempdir detects temporary directories not using t.TempDir
https://github.com/peczenyj/ttempdir
MIT License
4 stars 1 forks source link

Change analyzer program add flagset prefix #13

Closed peczenyj closed 3 months ago

peczenyj commented 3 months ago

We changed the ttempdir command line from a unitchecker to a singlechecker

Since the flag all is already defined (and it is deprecated) we create a prefix linter. for all linter specific flags.

New flags: -linter.all and -linter.max-recursion-level

This does not changes the flagset when called the default constructor without any option.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 74.19355% with 8 lines in your changes missing coverage. Please review.

Project coverage is 90.69%. Comparing base (d50d742) to head (a5a6c9e). Report is 1 commits behind head on main.

Files Patch % Lines
analyzer/analyzer.go 76.66% 5 Missing and 2 partials :warning:
cmd/ttempdir/main.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #13 +/- ## ========================================== - Coverage 94.19% 90.69% -3.50% ========================================== Files 3 3 Lines 155 172 +17 ========================================== + Hits 146 156 +10 - Misses 6 11 +5 - Partials 3 5 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.