mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
new-from-rev: add support for finding issues in entire files in a diff (#2264)
This commit is contained in:
parent
cf9f3f95a9
commit
9b577fcb80
6 changed files with 11 additions and 5 deletions
|
@ -115,6 +115,7 @@ type Issues struct {
|
|||
|
||||
DiffFromRevision string `mapstructure:"new-from-rev"`
|
||||
DiffPatchFilePath string `mapstructure:"new-from-patch"`
|
||||
WholeFiles bool `mapstructure:"whole-files"`
|
||||
Diff bool `mapstructure:"new"`
|
||||
|
||||
NeedFix bool `mapstructure:"fix"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue