avo icon indicating copy to clipboard operation
avo copied to clipboard

Add a rubocop rule to check for prefix on `svg` calls

Open gabrielgiroe1 opened this issue 1 year ago • 0 comments

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: (https://github.com/avo-hq/avo/pull/2783)

gabrielgiroe1 avatar May 23 '24 07:05 gabrielgiroe1