Skip to content

Cop for require_dependency usage #446

Closed
@ngan

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions