-
Notifications
You must be signed in to change notification settings - Fork 40
Support ignoring files #176
Copy link
Copy link
Closed
Labels
supportSupport not requiring code changesSupport not requiring code changes
Description
From looking at the documentation, it looks like you can specify files to check, but you can't specify files to exclude.
I have dozens of files I do want to check, but only a handful I want to ignore.
With DavidAnson/markdownlint-cli2-action for example, I can specify some globs:
- name: Lint Markdown files
uses: DavidAnson/markdownlint-cli2-action@v13
with:
globs: |
**/*.md
!CHANGELOG.md
!**/BenchmarkDotNet.Artifacts/**/*.mdIt would be nice if similar functionality were supported so I don't need to list every file individually in the case I want to only ignore one or more files.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
supportSupport not requiring code changesSupport not requiring code changes