Fix stylelint scan

Created on 20 April 2024, 7 months ago
Updated 22 July 2024, 4 months ago

The GitLab CI stylelint scan identifies the following issues.

$ $CI_PROJECT_DIR/$_WEB_ROOT/core/node_modules/.bin/stylelint --ignore-path ./.stylelintignore --formatter verbose --config $CI_PROJECT_DIR/$_WEB_ROOT/core/.stylelintrc.json ./**/*.css --color $_STYLELINT_EXTRA || true
css/simple-styleguide.css
   5:3   ✖  Expected "margin-right" to come before "margin-left"   order/properties-order
   9:3   ✖  Expected "margin" to come before "padding"             order/properties-order
  12:3   ✖  Expected "position" to come before "font-size"         order/properties-order
  14:3   ✖  Expected "border-top" to come before "border-bottom"   order/properties-order
  15:3   ✖  Expected "text-transform" to come before "border-top"  order/properties-order
  23:51  ✖  Expected double colon pseudo-element notation          selector-pseudo-element-colon-notation
  25:3   ✖  Expected "display" to come before "content"            order/properties-order
  34:3   ✖  Expected "padding" to come before "background"         order/properties-order
  35:3   ✖  Expected "margin-top" to come before "padding"         order/properties-order
  48:3   ✖  Expected "margin" to come before "list-style"          order/properties-order
  50:3   ✖  Expected "width" to come before "padding"              order/properties-order
  72:3   ✖  Expected "padding" to come before "background"         order/properties-order
  92:5   ✖  Expected whitespace after "/*"                         comment-whitespace-inside
  92:30  ✖  Expected whitespace before "*/"                        comment-whitespace-inside
  95:3   ✖  Expected "width" to come before "margin-bottom"        order/properties-order
 106:5   ✖  Expected "width" to come before "margin-bottom"        order/properties-order
 122:3   ✖  Expected "font-family" to come before "font-size"      order/properties-order
 146:3   ✖  Expected "font-family" to come before "font-size"      order/properties-order
 151:3   ✖  Expected "display" to come before "font-weight"        order/properties-order
19 problems (19 errors, 0 warnings)

Let's fix these.

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇯🇵Japan ptmkenny

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024