Skip to content

Commit b9807ce

Browse files
authored
Merge pull request #933 from pre-commit/no-trailing-slash
prevent trailing slash in urls
2 parents 517969b + e666563 commit b9807ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,8 @@ repos:
4949
entry: '(github|gitlab).*\.git'
5050
files: all-repos.yaml
5151
language: pygrep
52+
- id: no-github-trailing-slash
53+
name: No need for trailing / for urls
54+
entry: '.*/$'
55+
files: all-repos.yaml
56+
language: pygrep

0 commit comments

Comments
 (0)