Skip to content

Enable non-default locations of checked files #234

Closed
@ustimchik

Description

@ustimchik

When using engines, the path for controllers, models, etc. are different from the core application which forces gem users to enable "Include" for all cops with this configurable option.

It would be great if there was a possibility to have some configurable global parameters, for instance:

Rails:
  -controllers_path: '**/app/controllers'
  -models_path: '**/app/{models,decorators}'

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