You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The patterns in gitignore do not improve the scanning performance unlike the patterns in ignorePaths. I used to use gitignore for storing all my ignored paths, but I realized that is only applied in the last step. I think the issue is with the globbing functionality. All the ignore patterns should be concatenated before starting the scan.
cspell.config.yaml
files:
- "**"useGitignore: true# ignorePaths:# - "**/node_modules/" # if you enable this, the performance is increased significantly
Info
Kind of Issue
Which Tool or library
Which Version
Version: 6.1.2
version: 11
OS version if applicable.
Bug Description
Describe the bug
The patterns in gitignore do not improve the scanning performance unlike the patterns in ignorePaths. I used to use gitignore for storing all my ignored paths, but I realized that is only applied in the last step. I think the issue is with the globbing functionality. All the ignore patterns should be concatenated before starting the scan.
cspell.config.yaml
and this in gitignore:
node_modules/
I also noticed that
**/*
is slower than**
To Reproduce
Steps to reproduce the behavior:
Expected behavior
gitignore patterns should work like ignorePaths
Screenshots
Additional context
cspell.json
See the above
Example Repository (Optional)
The text was updated successfully, but these errors were encountered: