Skip to content

Figure out how consumers can inherit our recommended rule configs #77

Closed

Description

@khiga8

Currently, we instruct our consumers to copy/paste rule configs from our README which is not ideal. Ideally, our recommended ERBLint rule configs will automatically be pulled in as consumers bump dependencies of this gem. This is possible with Rubocop, and other linting libraries.

There is nothing in the Shopify/erb-lint README which hints that there's a way to inherit configurations from dependency gems.

However, upon digging into the codebase, I came across an inherit_gem.

Investigate whether there's actually a way to inherit dependency gem ERB Lint configurations and update the README accordingly.

Activity

  1. self-assigned this
    on Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions