File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,14 @@ Golint is a linter for Go code. Where as [Gofmt](https://www.github.com/codeclim
77### Installation
88
991 . If you haven't already, [ install the Code Climate CLI] ( https://github.com/codeclimate/codeclimate ) .
10- 2 . Run ` codeclimate engines:enable golint ` . This command both installs the engine and enables it in your ` .codeclimate.yml ` file.
11- 3 . You're ready to analyze! Browse into your project's folder and run ` codeclimate analyze ` .
10+ 2 . Add the following to yout Code Climate config:
11+ ``` yaml
12+ plugins :
13+ golint :
14+ enabled : true
15+ ` ` `
16+ 3. Run ` codeclimate engines:install`
17+ 4. You're ready to analyze! Browse into your project's folder and run `codeclimate analyze`.
1218
1319# ## Configuration
1420
@@ -18,7 +24,7 @@ the threshold in order to be reported. The default value is `0.8`, the same as
1824`golint` : you can configure your own threshold in your `.codeclimate.yml`:
1925
2026` ` ` yaml
21- engines :
27+ plugins :
2228 golint:
2329 enabled: true
2430 config:
You can’t perform that action at this time.
0 commit comments