Skip to content

Commit

Permalink
Merge pull request #24 from ShahradR/bugfix/pre-commit-stages
Browse files Browse the repository at this point in the history
fix: set "commit" pre-commit default stage
  • Loading branch information
ShahradR authored Sep 18, 2020
2 parents 90503ee + 7d4f59a commit d2b90c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
default_stages: [commit]
exclude: vale/styles/*
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ This version of the configuration file adds Java support by:

```diff
---
default_stages: [commit]
exclude: vale/styles/*
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down Expand Up @@ -110,6 +111,7 @@ The pre-commit configuration has been adapted to lint both JavaScript and TypeSc

```diff
---
default_stages: [commit]
exclude: vale/styles/*
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down Expand Up @@ -187,6 +189,7 @@ This configuration expects the templates to reside under the `templates/` direct

```diff
---
default_stages: [commit]
exclude: vale/styles/*
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down Expand Up @@ -247,6 +250,7 @@ This version of the file adds the [Haskell Dockerfile Linter](https://github.com

```diff
---
default_stages: [commit]
exclude: vale/styles/*
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down Expand Up @@ -302,6 +306,7 @@ This configuration expects the OpenAPI specification file to reside under the `s

```diff
---
default_stages: [commit]
exclude: vale/styles/*
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down

0 comments on commit d2b90c1

Please sign in to comment.