Try a different way to limit linting
This commit is contained in:
parent
18db17fe0b
commit
878f0e9bcf
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ pre-commit:
|
|||
stage_fixed: true
|
||||
golint:
|
||||
glob: "*.go"
|
||||
run: golangci-lint run --fix {staged_files}
|
||||
run: golangci-lint run --fix --new-from-rev=HEAD
|
||||
stage_fixed: true
|
||||
prettier:
|
||||
glob: "*.{html,js,ts,vue,scss}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue