@@ -269,7 +269,7 @@ linters:
269269 - bodyclose # checks whether HTTP response body is closed successfully
270270 - canonicalheader # checks whether net/http.Header uses canonical header
271271 - copyloopvar # detects places where loop variables are copied (Go 1.22+)
272- # Todo enable this - This needs a fix in few of our functions
272+ # TODO enable this - This needs a fix in few of our functions
273273 # - cyclop # checks function and package cyclomatic complexity
274274 - depguard # checks if package imports are in a list of acceptable packages
275275 - dupl # tool for code clone detection
@@ -280,38 +280,38 @@ linters:
280280 - exptostd # detects functions from golang.org/x/exp/ that can be replaced by std functions
281281 - fatcontext # detects nested contexts in loops
282282 # - forbidigo # forbids identifiers # Not needed. this blocks only fmt.Print family and is not useful right now
283- # Todo enable - need to make functions shorter
283+ # TODO enable - need to make functions shorter
284284 # - funlen # tool for detection of long functions
285285 - gocheckcompilerdirectives # validates go compiler directive comments (//go:)
286- # Todo enable - This is too much for us right now
286+ # TODO enable - This is too much for us right now
287287 - gochecknoglobals # checks that no global variables exist
288288 - gochecknoinits # checks that no init functions are present in Go code
289289 - gochecksumtype # checks exhaustiveness on Go "sum types"
290- # Todo enable - Need to refactor many functions
290+ # TODO enable - Need to refactor many functions
291291 # - gocognit # computes and checks the cognitive complexity of functions
292292 - goconst # finds repeated strings that could be replaced by a constant
293293 - gocritic # provides diagnostics that check for bugs, performance and style issues
294- # Todo enable
294+ # TODO enable
295295 # - gocyclo # computes and checks the cyclomatic complexity of functions
296296 # - godot # checks if comments end in a period # Too much for us right now
297297 - goimports # in addition to fixing imports, goimports also formats your code in the same style as gofmt
298298 - gomoddirectives # manages the use of 'replace', 'retract', and 'excludes' directives in go.mod
299299 - goprintffuncname # checks that printf-like functions are named with f at the end
300- # Todo enable - ignore for a few int overflow, and fix file permissions
300+ # TODO enable - ignore for a few int overflow, and fix file permissions
301301 # weak md5 cryptography, Subprocess launched with a potential tainted input
302302 # - gosec # inspects source code for security problems
303303 - iface # checks the incorrect use of interfaces, helping developers avoid interface pollution
304304 - intrange # finds places where for loops could make use of an integer range
305- # Todo enable : Need many fixes
305+ # TODO enable : Need many fixes
306306 # - lll # reports long lines
307307 - loggercheck # checks key value pairs for common logger libraries (kitlog,klog,logr,zap)
308308 - makezero # finds slice declarations with non-zero initial length
309309 - mirror # reports wrong mirror patterns of bytes/strings usage
310- # Todo enable - Many many magic numbers, and this should be fixed.
310+ # TODO enable - Many many magic numbers, and this should be fixed.
311311 # - mnd # detects magic numbers
312312 - musttag # enforces field tags in (un)marshaled structs
313313 - nakedret # finds naked returns in functions greater than a specified function length
314- # Todo enable : Many reports. A bit hard to understand the nesting value.
314+ # TODO enable : Many reports. A bit hard to understand the nesting value.
315315 # - nestif # reports deeply nested if statements
316316 - nilerr # finds the code that returns nil even if it checks that the error is not nil
317317 - nilnesserr # reports that it checks for err != nil, but it returns a different nil value error (powered by nilness and nilerr)
@@ -325,11 +325,11 @@ linters:
325325 - promlinter # checks Prometheus metrics naming via promlint
326326 - protogetter # reports direct reads from proto message fields when getters should be used
327327 - reassign # checks that package variables are not reassigned
328- # Todo enable - Issue due to model struct
328+ # TODO enable - Issue due to model struct
329329 # - recvcheck # checks for receiver type consistency
330330 - revive # fast, configurable, extensible, flexible, and beautiful linter for Go, drop-in replacement of golint
331331 - rowserrcheck # checks whether Err of rows is checked successfully
332- # Todo enable - Need to use non-root logger
332+ # TODO enable - Need to use non-root logger
333333 # - sloglint # ensure consistent code style when using log/slog
334334 - spancheck # checks for mistakes with OpenTelemetry/Census spans
335335 - sqlclosecheck # checks that sql.Rows and sql.Stmt are closed
@@ -345,7 +345,7 @@ linters:
345345 - wastedassign # finds wasted assignment statements
346346 - whitespace # detects leading and trailing whitespace
347347
348- # # Todo : Enable some of them
348+ # # TODO : Enable some of them
349349 # # you may want to enable
350350 - decorder # checks declaration order and count of types, constants, variables and functions
351351 # We have so many false positives
0 commit comments