Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #58
Currently, to ignore files from being checked, you can use
ignore_paths
andignore_names
, but these inputs can't be used in combination to exclude specific files.As an example, say you want to exclude the file
./folder_a/maybe_ignore.sh
. Usingignore_paths: folder_a
would ignore other files in that directory that shouldn't be ignored. Usingignore_names: maybe_ignore.sh
would ignore files that share the same name as the target file, but which exist in other directories.This change makes the
ignore_paths
input a little more expressive:./folder_a/maybe_ignore.sh
**/maybe_ignore.sh
I also added more tests for
ignore_paths
. And I removedtestfiles/ignore/ignore.sh
, which looked unused. I can add this back if it was being used as an implicit exclusion test.