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
7
7
### Installation
8
8
9
9
1 . 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`.
12
18
13
19
# ## Configuration
14
20
@@ -18,7 +24,7 @@ the threshold in order to be reported. The default value is `0.8`, the same as
18
24
`golint` : you can configure your own threshold in your `.codeclimate.yml`:
19
25
20
26
` ` ` yaml
21
- engines :
27
+ plugins :
22
28
golint:
23
29
enabled: true
24
30
config:
You can’t perform that action at this time.
0 commit comments