Skip to content

Commit

Permalink
* misc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DisposaBoy committed Jul 17, 2013
1 parent 7755261 commit ce879dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions articles/golint.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
How to run custom linters in GoSublime.
=============================

Until https://github.com/DisposaBoy/GoSublime/issues/220 is closed, you can run your own linters e.g.`go build`, `go vet` or [golint](https://github.com/golang/lint) commands by using `comp-lint`, it's able to run use-commands when you save.
Until https://github.com/DisposaBoy/GoSublime/issues/220 is closed, you can run your own linters e.g.`go build`, `go vet` or [golint](https://github.com/golang/lint) commands by using `comp-lint`, it's able to run user-commands when you save.

Please note that comp-lint may effectively disable the live linter that currently only does syntax
Please note that comp-lint may effectively disable the live linter that currently only does `syntax` and `flag` checks.

note: replace `ctrl` with `super` on OS X

Expand All @@ -15,7 +15,7 @@ To enable comp-lint, add the following settings to your user settings file ( `ct

// list of commands to run
"comp_lint_commands": [
// run go lint on all files in the package
// run `golint` on all files in the package
// "shell":true is required in order to run the command through your shell (to expand `*.go`)
// also see: the documentation for the `shell` setting in the default settings file ctrl+dot,ctrl+4
{"cmd": ["golint *.go"], "shell": true}
Expand Down

0 comments on commit ce879dd

Please sign in to comment.