Skip to content
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

Merged
merged 9 commits into from
Dec 27, 2020

Conversation

Jason3S
Copy link
Collaborator

@Jason3S Jason3S commented Dec 26, 2020

  1. Improve speed of spell checking by filtering when scanning for files.
  2. Explicitly allow multiple excludes on the command line.

@@ -115,8 +119,7 @@
"args": [
"examples/**/*.html",
"aria-practices.html",
"**/*.md",
"*.md"
"**/*.md"
Copy link
Collaborator

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

Copy link
Collaborator Author

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.

"aria-practices.html",
"**/*.md",
"*.md"
"**/*"
Copy link
Collaborator

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

Suggested change
"**/*"
"**/*.*"

Copy link
Collaborator Author

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)

Copy link
Collaborator

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

@Jason3S Jason3S merged commit 7a4c8f8 into master Dec 27, 2020
@Jason3S Jason3S deleted the dev branch December 27, 2020 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants