analyzer/

directory
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2026 License: MIT

Directories

Path Synopsis
Package nodbmutintest forbids direct DB mutation in tests.
Package nodbmutintest forbids direct DB mutation in tests.
Package nodeadguard forbids nil-checks on values that cannot be nil.
Package nodeadguard forbids nil-checks on values that cannot be nil.
Package noenvbranch forbids runtime branching on environment strings.
Package noenvbranch forbids runtime branching on environment strings.
Package noerrorwrapbanality forbids fmt.Errorf wrappers that add no context.
Package noerrorwrapbanality forbids fmt.Errorf wrappers that add no context.
Package nogetenv forbids os.Getenv outside config packages.
Package nogetenv forbids os.Getenv outside config packages.
Package noinlinecomment forbids comments inside function bodies.
Package noinlinecomment forbids comments inside function bodies.
Package nolintdirective forbids linter suppression directives.
Package nolintdirective forbids linter suppression directives.
Package nopanicsrc forbids panic() in production code.
Package nopanicsrc forbids panic() in production code.
Package noredundantif forbids redundant if-return patterns.
Package noredundantif forbids redundant if-return patterns.
Package norobotgodoc forbids godoc that tautologically restates the function signature.
Package norobotgodoc forbids godoc that tautologically restates the function signature.
Package nosilentfallback forbids silent defaults for missing values: cmp.Or(x, literal) and if-block fallbacks like `if x == "" { x = "default" }`.
Package nosilentfallback forbids silent defaults for missing values: cmp.Or(x, literal) and if-block fallbacks like `if x == "" { x = "default" }`.
Package notimenow forbids direct time.Now/Since/Until outside clock package.
Package notimenow forbids direct time.Now/Since/Until outside clock package.
Package notodo forbids TODO/FIXME/XXX/HACK markers outright.
Package notodo forbids TODO/FIXME/XXX/HACK markers outright.
Package notypeonlyassert forbids type-only or existence-only assertions in tests.
Package notypeonlyassert forbids type-only or existence-only assertions in tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL