Skip to content

Add rules for colorpicker

Thomas Hutterer requested to merge colorpicker_rules into main

There is no GlColorPicker in gitlab-ui yet, neither do we have a view_component for it yet.

These basic rules only detect the usage of the ColorPicker Vue component that exists in GitLab codebase. And it detects the current color form fields in Haml. This way we at least detect if these non-Pajamas solutions get copy&pasted into other places, which would tell there is a need for a Pajamas component.

Resolves #11 (closed)

Merge request reports