Skip to content

Commit

Permalink
feat: Verify that repo paths are portable
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed Mar 9, 2023
1 parent d2155ff commit 67b5bee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
# Please run `pre-commit run --all-files` when adding or changing entries.

repos:
- repo: local
hooks:
- id: pathchk
name: pathchk
entry: pathchk
args: [--portability]
exclude: ^([a-zA-Z0-9._][a-zA-Z0-9._-]+)(/[a-zA-Z0-9._][a-zA-Z0-9._-]+)*$ # https://lists.gnu.org/archive/html/coreutils/2023-01/msg00006.html
language: system
stages: [commit]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: 6f3cb139ef36133b6f903b97facc57b07cef57c9 # frozen: v3.0.0-alpha.6
hooks:
Expand Down

0 comments on commit 67b5bee

Please sign in to comment.