gometalinter-linter
Aggregate and normalise the output of a whole bunch of Go linters.
gometalinter-linter
is a Linter provider that runs gometalinter
on your file(s). It depends on the following packages:
go-config
go-get
linter
(Recommended)nuclide-diagnostics
Rather than list all the linters that gometalinter
runs here (and let the list get out of date), head over to the gometalinter
repository to find out the current state (it's pretty awesome!):
gometalinter
has many flags that can be used for customization. You can use flags to enable or disable specific linters. The --json
flag will always be added if it is missing. The defaults used for this package are:
This is helpful if you would like to copy-paste the settings in as a starting point for further customization.
--vendor, --disable-all, --enable=vet, --enable=vetshadow, --enable=golint, --enable=ineffassign, --enable=goconst, --tests, --json, .
config.cson
/ config.json
)config.cson
"gometalinter-linter":
args: [
"--vendor"
"--disable-all"
"--enable=vet"
"--enable=vetshadow"
"--enable=golint"
"--enable=ineffassign"
"--enable=goconst"
"--tests"
"--json"
"."
]
config.json
"gometalinter-linter": {
"args": [
"--vendor",
"--disable-all",
"--enable=vet",
"--enable=vetshadow",
"--enable=golint",
"--enable=ineffassign",
"--enable=goconst",
"--tests",
"--json",
"."
]
}