Skip to content

Commit 55d0804

Browse files
committed
Update installation instructions
1 parent d78cde1 commit 55d0804

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ Golint is a linter for Go code. Where as [Gofmt](https://www.github.com/codeclim
77
### Installation
88

99
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`.
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:

0 commit comments

Comments
 (0)