Skip to content

Commit

Permalink
feat: cspell-glob matches only files under the root (#913)
Browse files Browse the repository at this point in the history
For historical reasons, cspell-glob assumed two roots:
1. the one passed in which defaulted to the current working directory
2. the FS root on any drive.

This happened because it was sometimes difficult to determine the root inside the VS Code extension.

In cspell 5, there is a shift with the `ignorePaths` meaning to be relative to the location of the file that defined them.

It will also be possible to define the root for the `ignorePaths` within the configuration file.
  • Loading branch information
Jason3S committed Feb 3, 2021
1 parent ad27eff commit a2d700d
Show file tree
Hide file tree
Showing 2 changed files with 194 additions and 136 deletions.
Loading

0 comments on commit a2d700d

Please sign in to comment.