staticlint

command
v0.0.0-...-1b113c7 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 54 Imported by: 0

Documentation

Overview

Package multichecker consists couple of linters/SAS

1. Fill 'config.json' file

it consists 4 sections:

example:

	//  {
	//  "staticcheck": [
	//      "SA*",
	//      "QF1012"
	//  ],
	//  "default": [
	//      "*"
	//  ],
	//  "critic": true,
	//  "bodyclose": true,
	//  "custom": true
	//  }

 2. Build file
    // go build -o ./cmd/staticlint/staticlint.exe ./cmd/staticlint/main.go

 3. Run
    // go vet -vettool=cmd/staticlint/staticlint.exe ./...

Binary linker.

Jump to

Keyboard shortcuts

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