Skip to content

Commit

Permalink
golangci: add new-from-rev flag
Browse files Browse the repository at this point in the history
This flag allows to run linters only on the files changed since the
given revision. Since we can assume that the code adheres to linting
standards before said revision, this ensures that new code adheres to
the aditional restrictions from `lll`.
  • Loading branch information
gijswijs committed Apr 4, 2024
1 parent c118c90 commit 8116524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,4 @@ issues:
- unused
- deadcode
- varcheck
new-from-rev: c118c9095a3175d1d311fa9bf6555b44aa8d3912

0 comments on commit 8116524

Please sign in to comment.