Skip to content

Commit 0884638

Browse files
committed
Add initial commit with the project description
0 parents  commit 0884638

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SublimeLinter-golangcilint [![Build Status](https://travis-ci.org/SublimeLinter/SublimeLinter-golangcilint.png?branch=master)](https://travis-ci.org/SublimeLinter/SublimeLinter-golangcilint)
2+
3+
This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [golangci-lint](https://github.com/golangci/golangci-lint).
4+
5+
It will be used with files that have the "Go" syntax.
6+
7+
**Note:** This project was originally inspired by a [similar package](https://github.com/alecthomas/SublimeLinter-contrib-golang-cilint) that unfortunately doesn’t takes in consideration a bug in golangci-lint that sends some errors to `/dev/stderr` rather than `/dev/stdout` causing the linter to fail or miss some important issues. I have fixed this in this version, and also added better error handling for unrelated files.
8+
9+
## Installation
10+
11+
SublimeLinter must be installed in order to use this plugin. Then use [Package Control](https://packagecontrol.io/) to install the linter plugin. Please make sure that the path to `golangci-lint` is available to SublimeLinter. To install, follow the instructions provided by [here](https://github.com/golangci/golangci-lint#install).
12+
13+
14+
## Settings
15+
16+
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
17+
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html

0 commit comments

Comments
 (0)