Skip to content

Add a rubocop rule to check for prefix on svg calls #2798

Open
@gabrielgiroe1

Description

@gabrielgiroe1

Context

We were pointed out that if the user adds an svg with the same name as ours, it will override them.

To mitigate that we have moved them to a separate avo directory and are referencing them with the full path.

We'd also want to add a rubocop rule to check for any calls without the avo/ or heroicons/ prefix.

We'll take some help with that.

Related to this issue and this PR: (#2783)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions