@@ -51,7 +51,7 @@ linters:
51
51
- goconst # Finds repeated strings that could be replaced by a constant
52
52
- gocritic # The most opinionated Go source code linter
53
53
- godox # Tool for detection of FIXME, TODO and other comment keywords
54
- - goerr113 # Golang linter to check the errors handling expressions
54
+ - err113 # Golang linter to check the errors handling expressions
55
55
- gofmt # Gofmt checks whether code was gofmt-ed. By default this tool runs with -s option to check for code simplification
56
56
- gofumpt # Gofumpt checks whether code was gofumpt-ed.
57
57
- goheader # Checks is file header matches to pattern
@@ -86,17 +86,14 @@ linters:
86
86
- depguard # Go linter that checks if package imports are in a list of acceptable packages
87
87
- containedctx # containedctx is a linter that detects struct contained context.Context field
88
88
- cyclop # checks function and package cyclomatic complexity
89
- - exhaustivestruct # Checks if all struct's fields are initialized
90
89
- funlen # Tool for detection of long functions
91
90
- gocyclo # Computes and checks the cyclomatic complexity of functions
92
91
- godot # Check if comments end in a period
93
92
- gomnd # An analyzer to detect magic numbers.
94
- - ifshort # Checks that your code uses short syntax for if-statements whenever possible
95
93
- ireturn # Accept Interfaces, Return Concrete Types
96
94
- lll # Reports long lines
97
95
- maintidx # maintidx measures the maintainability index of each function.
98
96
- makezero # Finds slice declarations with non-zero initial length
99
- - maligned # Tool to detect Go structs that would take less memory if their fields were sorted
100
97
- nakedret # Finds naked returns in functions greater than a specified function length
101
98
- nestif # Reports deeply nested if statements
102
99
- nlreturn # nlreturn checks for a new line before return and branch statements to increase code clarity
0 commit comments