Skip to content

Allow ignoring system gem files [feature] #20

@henrahmagix

Description

@henrahmagix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions