From 76732df0777c5b3d75b635ef052183e258470ce5 Mon Sep 17 00:00:00 2001 From: Milad Nekofar Date: Mon, 9 Nov 2020 18:47:53 +0330 Subject: [PATCH] chore: update pre-commit and standard version configs Signed-off-by: Milad Nekofar --- .pre-commit-config.yaml | 11 ++++++----- .versionrc.json | 4 ++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6619efa..3cbb244 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] diff --git a/.versionrc.json b/.versionrc.json index ddc3bf9..ce50f05 100644 --- a/.versionrc.json +++ b/.versionrc.json @@ -1,6 +1,10 @@ { + "header": "# Changelog", "skip": { "commit": true, "tag": true + }, + "scripts": { + "postchangelog": "sed -i '' 's/\\*\\*\\(.*\\)\\*\\*//g' CHANGELOG.md" } }