-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improve spell checking speed and allow multiple exclude arguments #806
Conversation
Jason3S
commented
Dec 26, 2020
- Improve speed of spell checking by filtering when scanning for files.
- Explicitly allow multiple excludes on the command line.
Duplicate file checks were removed.
integration-tests/config/config.json
Outdated
@@ -115,8 +119,7 @@ | |||
"args": [ | |||
"examples/**/*.html", | |||
"aria-practices.html", | |||
"**/*.md", | |||
"*.md" | |||
"**/*.md" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one actually does everything with "**/*.*"
, and used the ignoreFilePaths to exclude
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, I'll fix it.
integration-tests/config/config.json
Outdated
"aria-practices.html", | ||
"**/*.md", | ||
"*.md" | ||
"**/*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was picking up "zero files" with this glob
"**/*" | |
"**/*.*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With **/*
it seems to be picking up 336 files: test (14.x, ubuntu-latest, w3c/aria-practices w3c/specberus)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I did missread the snapshot, but the other pattern is what's used upstream