Add check for permitted characters in pathnames

Add a new checker that checks for allowed characters in pathnames.

Includes arguments for overriding the default allowed list and extending
it.

Default allow list is alphanumeric plus `.-_`.
This commit is contained in:
Noah Pendleton 2022-03-01 18:13:56 -05:00
parent 69b4df5589
commit 9bb6ebc34d
5 changed files with 109 additions and 0 deletions

View file

@ -58,6 +58,9 @@ Attempts to load all json files to verify syntax.
#### `check-merge-conflict`
Check for files that contain merge conflict strings.
#### `check-permitted-path-characters`
Check for allowed characters in pathnames.
#### `check-shebang-scripts-are-executable`
Checks that scripts with shebangs are executable.