diff --git a/.golangci.example.yml b/.golangci.example.yml index 5f7d5d88..49800b62 100644 --- a/.golangci.example.yml +++ b/.golangci.example.yml @@ -36,6 +36,11 @@ run: - ".*\\.my\\.go$" - lib/bad.go + # whether to hide "congrats" message if no issues were found, + # default is false (show "congrats" message by default). + # set this option to true to print nothing if no issues were found. + silent: true + # output configuration options output: diff --git a/README.md b/README.md index 6903cd68..155a63c8 100644 --- a/README.md +++ b/README.md @@ -454,6 +454,11 @@ run: - ".*\\.my\\.go$" - lib/bad.go + # whether to hide "congrats" message if no issues were found, + # default is false (show "congrats" message by default). + # set this option to true to print nothing if no issues were found. + silent: true + # output configuration options output: