Fix stylelint scan

Created on 20 April 2024, 2 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

Needs review

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.69.0 2024