Skip to content

Commit 872f868

Browse files
authored
Merge pull request #7 from Kpler/story/rm-check-commit-msg-length
Story/rm check commit msg length
2 parents 6365462 + 73dd0cc commit 872f868

4 files changed

Lines changed: 2 additions & 38 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v2.5.0
3+
rev: v3.4.0
44
hooks:
55
- id: check-yaml
66
- id: end-of-file-fixer
77
# Override default [push, commit]
88
stages: [commit]
99
- id: trailing-whitespace
1010
- repo: https://github.com/Lucas-C/pre-commit-hooks
11-
rev: v1.1.7
11+
rev: v1.1.10
1212
hooks:
1313
- id: forbid-crlf
1414
- id: remove-crlf

.pre-commit-hooks.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@
1414
pass_filenames: false
1515
stages: [push]
1616

17-
- id: check-commit-first-line-length
18-
name: Check commit first line length
19-
language: script
20-
entry: ./check-commit-msg-length.sh
21-
always_run: true
22-
pass_filenames: false
23-
stages: [push]
2417
- id: no-ephemeral-links
2518
name: No ephemeral links
2619
language: script

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ It's a pre-push hook and will always run
2424
Check that branch name is less than 70 characters
2525
It's a pre-push hook and will always run
2626

27-
#### `check-commit-first-line-length`
28-
Check that the first line of commit message is less than 72 characters
29-
It's a pre-push hook and will always run
30-
3127
#### `no-ephemeral-links`
3228
Time is fleeting, we change services.
3329
Consequently to keep the code futureproof we don't

check-commit-msg-length.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)