Skip to content

Commit

Permalink
chore: update pre-commit and standard version configs
Browse files Browse the repository at this point in the history
Signed-off-by: Milad Nekofar <[email protected]>
  • Loading branch information
nekofar committed Nov 9, 2020
1 parent e0f0223 commit 76732df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
rev: v3.3.0
hooks:
- id: no-commit-to-branch
args: [-b master]
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-added-large-files
- id: no-commit-to-branch
args: [-b master]
- id: check-xml
- id: check-json
- id: check-merge-conflict
- repo: https://github.com/jorisroovers/gitlint
rev: v0.13.1
rev: v0.14.0
hooks:
- id: gitlint
stages: [commit-msg]
Expand Down
4 changes: 4 additions & 0 deletions .versionrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"header": "# Changelog",
"skip": {
"commit": true,
"tag": true
},
"scripts": {
"postchangelog": "sed -i '' 's/\\*\\*\\(.*\\)\\*\\*//g' CHANGELOG.md"
}
}

0 comments on commit 76732df

Please sign in to comment.