Skip to content

Linter suggestion - detect referencing of constants #207

Open
@andyw8

Description

I had suggested this for rubocop-rails a while ago in rubocop/rubocop-rails#32 :

This implies a tight coupling between different layers of the application. Also, it seems wrong for the view to access the model layer directly, rather than having data passed via the controller.

It's been closed there because RuboCop isn't going to support rendering engines, but I'm wondering if it would be considered as a potential addition to erb-lint ?

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions