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

Allow for ignoring globs #12

Open
andrewvaughan opened this issue Oct 19, 2023 · 3 comments
Open

Allow for ignoring globs #12

andrewvaughan opened this issue Oct 19, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@andrewvaughan
Copy link

Since Vale requires the calling party to demarcate whether to lint a file or not, and does not support file ignores (a mistake, in my opinion... but regardless), the extension should provide support to ignore globs. Right now, I have folders and files (for example, Vale style guides) that are filled with red lines and errors because I can't turn the extension off for those folders, making it extremely difficult to keep enabled.

@andrewvaughan
Copy link
Author

The official CSpell extension does this quite well, if needing to pull it from somewhere. For example, this is my settings.json:

"cSpell.ignorePaths": [
  "package-lock.json",
  "node_modules",
  "vscode-extension",
  ".git/objects",
  ".vscode",
  ".vscode-insiders"
]

For the extensions cSpell.ignorePaths property:

https://github.com/streetsidesoftware/vscode-spell-checker/blob/1249ebcfa68040888ca82fa7d73986638769d8aa/packages/_server/src/config/documentSettings.mts#L309

@AliSajid
Copy link

I am running into the exact same problem. I only need to lint a handful of files in my docs/ directory but the the Problems section is filled with errors and it's giving me too much anxiety.

@ChrisChinchilla
Copy link
Owner

OK folks I'll prioritise this.

@ChrisChinchilla ChrisChinchilla self-assigned this Mar 25, 2024
@ChrisChinchilla ChrisChinchilla added the enhancement New feature or request label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants