Skip to content

Commit

Permalink
.golangci.yml: remove all for test purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisvisco committed Aug 30, 2020
1 parent 6ebde1f commit d8021d8
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .golangci.yml
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


0 comments on commit d8021d8

Please sign in to comment.