godot: Check if comments end in a period [fast: true, auto-fix: true]
godox: Tool for detection of FIXME, TODO and other comment keywords [fast: true, auto-fix:
false]
gocognit: Computes and checks the cognitive complexity of functions [fast: true, auto-fix:
false]
gochecknoglobals: Check that no global variables exist. [fast: false, auto-fix: false]
errchkjson: Checks types passed to the json encoding functions. Reports unsupported types and reports occations, where the check for the returned error can be omitted. [fast: false,
auto-fix: false]
copyloopvar: copyloopvar is a linter detects places where loop variables are copied [fast:
true, auto-fix: false]
bodyclose: checks whether HTTP response body is closed successfully [fast: false, auto-fix: false]
goconst: Finds repeated strings that could be replaced by a constant [fast: true, auto-fix: false]
I have noticed such changes being committed:
vs
Golangci-lint would be my suggestion.
How to Install
How to install using a chain of trust: NPM => chocolatey => golangci-lint
Short List of Suggested Linters
nil
error and an invalid value. [fast: false, auto-fix: false]