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

Update InstanceVariables linter to support :ruby filters #545

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

jdelStrother
Copy link
Contributor

We sometimes use the :ruby filter as a preamble to our haml files, to set up local variables.

:ruby
  title = @page_title
%h1= title

How about something like this so that the InstanceVariables linter can detect ivars in filters?

@sds sds merged commit 5835a06 into sds:main Jan 30, 2025
35 checks passed
@sds
Copy link
Owner

sds commented Jan 30, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants