-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.golangci.yml: remove all for test purpose
- Loading branch information
1 parent
6ebde1f
commit d8021d8
Showing
1 changed file
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
linters: | ||
enable: | ||
- govet # Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string | ||
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases | ||
- staticcheck # Staticcheck is a go vet on steroids, applying a ton of static analysis checks | ||
- unused # Checks Go code for unused constants, variables, functions and types | ||
- gosimple # Linter for Go source code that specializes in simplifying a code | ||
- structcheck # Finds unused struct fields | ||
- varcheck # Finds unused global variables and constants | ||
- ineffassign # Detects when assignments to existing variables are not used | ||
- deadcode # Finds unused code | ||
- typecheck # Like the front-end of a Go compiler, parses and type-checks Go code | ||
- bodyclose # checks whether HTTP response body is closed successfully | ||
- golint # Golint differs from gofmt. Gofmt reformats Go source code, whereas golint prints out style mistakes | ||
- gosec # Inspects source code for security problems | ||
- unconvert # Remove unnecessary type conversions | ||
- dupl # Tool for code clone detection | ||
- goconst # Finds repeated strings that could be replaced by a constant | ||
- gocyclo # Computes and checks the cyclomatic complexity of functions | ||
- gofmt # Gofmt checks whether code was gofmt-ed. By default this tool runs with -s option to check for code simplification | ||
- misspell # Finds commonly misspelled English words in comments | ||
- lll # Reports long lines | ||
- unparam # Reports unused function parameters | ||
- prealloc # Finds slice declarations that could potentially be preallocated | ||
- gocritic # The most opinionated Go source code linter | ||
- whitespace # Tool for detection of leading and trailing whitespace | ||
- exportloopref # checks for pointers to enclosing loop variables | ||
# - govet # Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string | ||
# - errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases | ||
# - staticcheck # Staticcheck is a go vet on steroids, applying a ton of static analysis checks | ||
# - unused # Checks Go code for unused constants, variables, functions and types | ||
# - gosimple # Linter for Go source code that specializes in simplifying a code | ||
# - structcheck # Finds unused struct fields | ||
# - varcheck # Finds unused global variables and constants | ||
# - ineffassign # Detects when assignments to existing variables are not used | ||
# - deadcode # Finds unused code | ||
# - typecheck # Like the front-end of a Go compiler, parses and type-checks Go code | ||
# - bodyclose # checks whether HTTP response body is closed successfully | ||
# - golint # Golint differs from gofmt. Gofmt reformats Go source code, whereas golint prints out style mistakes | ||
# - gosec # Inspects source code for security problems | ||
# - unconvert # Remove unnecessary type conversions | ||
# - dupl # Tool for code clone detection | ||
# - goconst # Finds repeated strings that could be replaced by a constant | ||
# - gocyclo # Computes and checks the cyclomatic complexity of functions | ||
# - gofmt # Gofmt checks whether code was gofmt-ed. By default this tool runs with -s option to check for code simplification | ||
# - misspell # Finds commonly misspelled English words in comments | ||
# - lll # Reports long lines | ||
# - unparam # Reports unused function parameters | ||
# - prealloc # Finds slice declarations that could potentially be preallocated | ||
# - gocritic # The most opinionated Go source code linter | ||
# - whitespace # Tool for detection of leading and trailing whitespace | ||
# - exportloopref # checks for pointers to enclosing loop variables | ||
|
||
|