Linter suggestion - detect referencing of constants #207
Open
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 ?