Skip to content

Commit d0c2383

Browse files
committed
Update installation instructions
1 parent b0c4472 commit d0c2383

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ govet examines Go source code and reports suspicious constructs, such as Printf
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 govet`. 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 your Code Climate config:
11+
```yaml
12+
plugins:
13+
govet:
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
### Building
1420

0 commit comments

Comments
 (0)