-
Notifications
You must be signed in to change notification settings - Fork 95
Feature Request - Add flag to filter errors for specific files #499
Comments
This could work but we're faced with a choice on the implementation side:
What would you expect the tool did for you if you didn't look at the docs? |
I would expect the whole theme checks to be Enabled, but only report errors for the given files. And if |
I've added partial support for this in Shopify/theme-check-action. Now that we annotate files, if you have the following configuration, only the diff'ed files will be annotated on your PR:
Is that enough for you? The approach I used was to use A |
👋🏻 Hi @sdn90! Thanks for reporting this. We are deprecating the Ruby version of theme check as it is no longer receiving developer support. If you're still having issues with the suggestion by @charlespwd to use the latest version of the Github action, then please open a new issue there. Thanks! |
I think this is a pretty important feature for people who are adding Theme Check to existing themes. The codebase I'm working on has a huge amount of errors and it's not realistic for us to fix everything in one pass.
My ideal situation would be:
shopify theme check [file1] [file2]
I think this should work with lint-staged without having to configure too much stuff
The text was updated successfully, but these errors were encountered: