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 ignoring system gem files [feature] #20

Open
henrahmagix opened this issue Dec 22, 2023 · 1 comment
Open

Allow ignoring system gem files [feature] #20

henrahmagix opened this issue Dec 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@henrahmagix
Copy link

Hi =) this is a great extension btw, thanks!

Is it possible please to tell standardrb to ignore files outside of the workspace, e.g. gem files, so I can open them in VS Code to read them, but not have loads of squiggly lines all over the file because it wasn't authored with standardrb?

I tried adding regex patterns to the ignore list that I've set in .standard.yml but that hasn't worked unfortunately :'(

ignore:
  - some_local_file.rb  # works
  - /Users/me/.rbenv/.* # does not work, sadly
  - /Users/me/.rbenv/*  # also doesn't work :<
image
@searls
Copy link
Contributor

searls commented Dec 22, 2023

This is a good idea and something I'd also like, but you're right in that the plugin doesn't currently give users a way to do this

@searls searls added the enhancement New feature or request label Dec 22, 2023
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

2 participants