Fix issues reported by Stylelint

Created on 14 February 2024, 4 months ago
Updated 15 February 2024, 4 months ago

Problem/Motivation

With πŸ“Œ Integration with Gitlab CI Fixed in place, we can start checking for Stylelint. There is a report now for the issues we can fix.

css/global.css
  1:57   βœ–  Expected double colon pseudo-element notation                      selector-pseudo-element-colon-notation
  5:52   βœ–  Expected double colon pseudo-element notation                      selector-pseudo-element-colon-notation
  8:54   βœ–  Expected double colon pseudo-element notation                      selector-pseudo-element-colon-notation
 12:52   βœ–  Expected double colon pseudo-element notation                      selector-pseudo-element-colon-notation
 20:5    βœ–  Expected "cursor" to come before "font-weight"                     order/properties-order
 28:119  βœ–  Expected double colon pseudo-element notation                      selector-pseudo-element-colon-notation
 33:114  βœ–  Expected double colon pseudo-element notation                      selector-pseudo-element-colon-notation
 38:116  βœ–  Expected double colon pseudo-element notation                      selector-pseudo-element-colon-notation
 43:114  βœ–  Expected double colon pseudo-element notation                      selector-pseudo-element-colon-notation
 81:5    βœ–  Expected "color" to come before "font-weight"                      order/properties-order
 81:38   βœ–  Expected "--colorGinText" to match pattern "^[a-z][-_a-z0-9IE]*$"  custom-property-pattern
11 problems (11 errors, 0 warnings)
1 source checked
 /builds/project/admin_toolbar_content/web/modules/custom/admin_toolbar_content/css/global.css
11 errors found
 selector-pseudo-element-colon-notation: 8 (maybe fixable)
 order/properties-order: 2
 custom-property-pattern: 1

Steps to reproduce

Run stylelint

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium tim-diels Belgium πŸ‡§πŸ‡ͺ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024