diff --git a/src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml b/src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml index d59f113..fee7606 100644 --- a/src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml +++ b/src/pre_commit_vauxoo/cfg/.pre-commit-config.yaml @@ -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.*'