An open API service indexing awesome lists of open source software.

https://github.com/patrickrgaffney/sublimelinter-contrib-staticcheck

This linter plugin for SublimeLinter provides an interface to staticcheck.
https://github.com/patrickrgaffney/sublimelinter-contrib-staticcheck

go golang linting staticcheck sublime-text sublimelinter

Last synced: 18 days ago
JSON representation

This linter plugin for SublimeLinter provides an interface to staticcheck.

Awesome Lists containing this project

README

          

SublimeLinter-contrib-staticcheck
=================================

This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [`staticcheck`](https://staticcheck.io). It will be used with files that have the `.go` syntax.

![screenshot](screenshot.png)

## Installation

SublimeLinter must be installed in order to use this plugin.

Please use [Package Control](https://packagecontrol.io) to install the linter plugin.

Before installing this plugin, you must ensure that `staticcheck` is installed on your system.

In order for `staticcheck` to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover [troubleshooting PATH configuration](http://sublimelinter.readthedocs.io/en/latest/troubleshooting.html#finding-a-linter-executable).

## Settings

- SublimeLinter settings: http://sublimelinter.readthedocs.org/en/latest/settings.html
- Linter settings: http://sublimelinter.readthedocs.org/en/latest/linter_settings.html

Additional SublimeLinter-contrib-staticcheck settings:

- *none at this time*