Skip to content

Commit

Permalink
Merge pull request #21 from mineiros-io/fix-documentation
Browse files Browse the repository at this point in the history
Rename .golangci.yml.example to .golangci.example.yml and update documentation in README.md
  • Loading branch information
soerenmartius authored Jul 13, 2020
2 parents ec318fd + f4950e1 commit 911a366
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
File renamed without changes.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ Currently, the following hooks are supported:

### Markdown

- [markdown-link-check](https://github.com/tcort/markdown-link-check): Checks that all of the hyperlinks in a markdown
text to determine if they are alive or dead.
- [markdown-link-check](https://github.com/tcort/markdown-link-check): Validates that all hyperlinks in a markdown
text alive or dead.

### Bash

Expand Down Expand Up @@ -104,13 +104,18 @@ repos:
- id: terraform-fmt
- id: terraform-validate
- id: tflint
- id: gofmt
- id: goimports
- id: golint
- id: golangci-lint
- id: phony-targets
- id: markdown-link-check
- id: shellcheck

# The following hooks are redundant when golangci-lint is being. Our recommendation is to use golangci-lint
# as the main linter for go since it enables you to run all available linters in parallel.
# For details please see the example configuration https://github.com/mineiros-io/pre-commit-hooks/blob/master/.golangci.example.yml
# - id: gofmt
# - id: goimports
# - id: golint

```

Once you created the configuration file inside your repository, you must run `pre-commit install` to activate the hooks.
Expand Down

0 comments on commit 911a366

Please sign in to comment.