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
Is your feature request related to a problem? Please describe.
For rails apps that are using Zeitwerk, all usages of require_dependency should be deprecated.
Describe the solution you'd like
We've written a cop to look for this and thought it'd be a good idea to share it here. Is this something maintainers would be interested in? It would probably be disabled by default since not even is on Zeitwerk yet.
The text was updated successfully, but these errors were encountered:
I think this cop can be accepted. Ideally, it should be disabled the cop when static analysis can determine that the classic loader (not Zeitwerk) is used, but I think first behaviour can start by disabling the cop by default.
Is your feature request related to a problem? Please describe.
For rails apps that are using Zeitwerk, all usages of
require_dependency
should be deprecated.Describe the solution you'd like
We've written a cop to look for this and thought it'd be a good idea to share it here. Is this something maintainers would be interested in? It would probably be disabled by default since not even is on Zeitwerk yet.
The text was updated successfully, but these errors were encountered: