Allow RuboCop hints for non-ruby files #1323
Labels
enhancement
New feature or request
pinned
This issue or pull request is pinned and won't be marked as stale
This feature is VS Code specific
Use case
Somewhat recently RuboCop introduced 3rd-party templating support, where extensions can extract ruby code from files that RuboCop would normally not understand. rubocop/rubocop#10839
A few examples are
Description
I want inline RuboCop hints for non-ruby files.
Implementation
I'm not sure how this works, currently there is no request fired when opening an erb file for example. So the extension probably needs to advertise on which extensions it can function. I'm not sure how that would work with arbitrary extensions.
The text was updated successfully, but these errors were encountered: