File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 170170 types : [go]
171171 exclude : ' (^|/)vendor/'
172172 language : ' script'
173- description : " Run 'gocritic check [$ARGS] $FILE' for each staged .go file"
173+ description : " Run 'go-critic check [$ARGS] $FILE' for each staged .go file"
174174 pass_filenames : true
175175
176176# ==============================================================================
Original file line number Diff line number Diff line change @@ -774,9 +774,9 @@ You can use the `"verbose: true"` hook configuration to always show hook output.
774774### go-critic
775775The most opinionated Go source code linter for code audit.
776776
777- | Hook ID | Description |
778- |-------------|---------------------------------------------------------------|
779- | `go-critic` | Run `'gocritic check [$ARGS] $FILE'` for each staged .go file |
777+ | Hook ID | Description |
778+ |-------------|---------------------------------------------------------------- |
779+ | `go-critic` | Run `'go-critic check [$ARGS] $FILE'` for each staged .go file |
780780
781781##### Install
782782 https://github.com/go-critic/go-critic#installation
@@ -798,7 +798,7 @@ The most opinionated Go source code linter for code audit.
798798
799799#### Help
800800 - https://go-critic.github.io/overview
801- - `gocritic check -help`
801+ - `go-critic check -help`
802802
803803-----------------
804804### golangci-lint
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- cmd=(gocritic check)
2+ cmd=(go-critic check)
33. " $( dirname " ${0} " ) /lib/cmd-files.bash"
You can’t perform that action at this time.
0 commit comments