Skip to content

Commit

Permalink
disable staticcheck for now
Browse files Browse the repository at this point in the history
Signed-off-by: Pranay Valson <pranay.valson@gmail.com>
  • Loading branch information
noslav committed Apr 24, 2024
1 parent 440d1bf commit 90aecc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ linters:
- gosimple # Linter for Go source code that specializes in simplifying a code
- govet # Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string
- ineffassign # Detects when assignments to existing variables are not used
- staticcheck # Staticcheck is a go vet on steroids, applying a ton of static analysis checks
- structcheck # Finds unused struct fields
- typecheck # Like the front-end of a Go compiler, parses and type-checks Go code
- unused # Checks Go code for unused constants, variables, functions and types
Expand Down Expand Up @@ -64,6 +63,9 @@ linters:

disable:
# main-list
## disable now re-enable later
- staticcheck # Staticcheck is a go vet on steroids, applying a ton of static analysis checks
## re-enable never
- contextcheck # Check the function whether use a non-inherited context
- cyclop # Checks function and package cyclomatic complexity
- durationcheck # Check for two durations multiplied together
Expand Down

0 comments on commit 90aecc4

Please sign in to comment.