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

Add InstanceVariable linter #241

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 11, 2021

  1. Add InstanceVariable linter

    Adds the InstanceVariable linter, which can be limited to partials only
    (thus deprecating PartialInstanceVariable), but considers an instance
    variable in any template to be an offense by default.
    
    Also changed range behavior in both linters to highlight the instance
    variables themselves. The previous behavior highlighted the start of the
    variable to the end of the file.
    
    Finally, added support for detecting class instance variables.
    emilong committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    5f318d6 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Configuration menu
    Copy the full SHA
    422a839 View commit details
    Browse the repository at this point in the history