You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- depguard # Go linter that checks if package imports are in a list of acceptable packages [fast: false, auto-fix: false]
54
64
- dogsled # Checks assignments with too many blank identifiers (e.g. x, _, _, _, := f()) [fast: true, auto-fix: false]
55
65
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: false, auto-fix: false]
56
66
- errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. [fast: false, auto-fix: false]
- exportloopref # checks for pointers to enclosing loop variables [fast: false, auto-fix: false]
59
68
- gochecknoinits # Checks that no init functions are present in Go code [fast: true, auto-fix: false]
60
-
- goconst # Finds repeated strings that could be replaced by a constant [fast: true, auto-fix: false]
61
69
- gocritic # Provides many diagnostics that check for bugs, performance and style issues. [fast: false, auto-fix: false]
62
70
- gocyclo # Computes and checks the cyclomatic complexity of functions [fast: true, auto-fix: false]
63
71
- godot # Check if comments end in a period [fast: true, auto-fix: true]
64
72
- gofmt # Gofmt checks whether code was gofmt-ed. By default this tool runs with -s option to check for code simplification [fast: true, auto-fix: true]
65
73
- goimports # Goimports does everything that gofmt does. Additionally it checks unused imports [fast: true, auto-fix: true]
66
-
- gomnd # An analyzer to detect magic numbers. [fast: true, auto-fix: false]
67
74
- goprintffuncname # Checks that printf-like functions are named with `f` at the end [fast: true, auto-fix: false]
- gosimple # Linter for Go source code that specializes in simplifying a code [fast: false, auto-fix: false]
70
77
- govet # Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string [fast: false, auto-fix: false]
71
-
- ifshort # Checks that your code uses short syntax for if-statements whenever possible [fast: true, auto-fix: false]
72
78
- ineffassign # Detects when assignments to existing variables are not used [fast: true, auto-fix: false]
73
79
- misspell # Finds commonly misspelled English words in comments [fast: true, auto-fix: true]
74
80
- nakedret # Finds naked returns in functions greater than a specified function length [fast: true, auto-fix: false]
0 commit comments