Skip to content

Lint against .gl- classes in stylesheets

What does this MR do and why?

Addressed [CSS utilities TG] Add best practice regarding ... (#471776 - closed).

This MR lints against any usages of gl- classes within our stylesheets.

How to set up and validate locally

  1. Add .gl-p-0 to any stylesheet
  2. stylelint should throw an error
Edited by Stanislav Lashmanov

Merge request reports

Loading