By default, suppress a struct's finding when its type declaration carries a recognized //nolint directive (default tokens: fieldalignment + bare //nolint). -nolint-linters customizes the named token set; -show-nolint reveals suppressed structs. Diff-only. Detection from the type's doc/trailing comments.
By default, suppress a struct's finding when its type declaration carries a recognized
//nolintdirective (default tokens:fieldalignment+ bare//nolint).-nolint-linterscustomizes the named token set;-show-nolintreveals suppressed structs. Diff-only. Detection from the type's doc/trailing comments.