You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been incorporating the new "strict locals" feature in Rails 7.1 into our views. It would be great to have a haml linter to require this. Right now we're only doing it in partials, not top level templates, so ideally it would allow some configuration like the InstanceVariables linter to allow linting only partials files. In some projects I would lint all, though, as they pass locals from the controllers as well.
The text was updated successfully, but these errors were encountered:
We've been incorporating the new "strict locals" feature in Rails 7.1 into our views. It would be great to have a haml linter to require this. Right now we're only doing it in partials, not top level templates, so ideally it would allow some configuration like the
InstanceVariables
linter to allow linting only partials files. In some projects I would lint all, though, as they pass locals from the controllers as well.The text was updated successfully, but these errors were encountered: