Skip to content

Commit

Permalink
[ADD] adds new hook: prevents files from having whitespaces in their …
Browse files Browse the repository at this point in the history
…name
  • Loading branch information
maneandrea committed Aug 7, 2024
1 parent 9a9b2d0 commit 24ad585
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ repos:
- --color
- --config=.eslintrc.json
# - --fix
- repo: local
hooks:
- id: no-whitespace-filename
name: file names cannot contain whitespaces
entry: files cannot contain whitespaces in their names
language: fail
files: '.*\s.*'

0 comments on commit 24ad585

Please sign in to comment.