Fix stylint errors

Created on 28 May 2024, 7 months ago

Problem/Motivation

$ $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/iconify_icons.css
 20:3  ✖  Expected "color" to come before "font-size"              order/properties-order
 40:3  ✖  Expected "display" to come before "align-items"          order/properties-order
 42:3  ✖  Expected "justify-content" to come before "height"       order/properties-order
 44:3  ✖  Expected "margin-top" to come before "background-color"  order/properties-order
 47:3  ✖  Expected "margin-right" to come before "border-radius"   order/properties-order
 48:3  ✖  Expected "width" to come before "margin-right"           order/properties-order
 79:3  ✖  Expected "overflow" to come before "max-height"          order/properties-order
7 problems (7 errors, 0 warnings)
2 sources checked
 /builds/project/iconify_icons/web/modules/custom/iconify_icons/css/iconify_icons.admin.css
 /builds/project/iconify_icons/web/modules/custom/iconify_icons/css/iconify_icons.css
7 errors found
 order/properties-order: 7
$ $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 --custom-formatter $CI_PROJECT_DIR/$_WEB_ROOT/core/node_modules/stylelint-junit-formatter $_STYLELINT_EXTRA > $CI_PROJECT_DIR/junit.xml
Uploading artifacts for failed job
00:01
Uploading artifacts...
junit.xml: found 1 matching artifact files and directories 
Uploading artifacts as "archive" to coordinator... 201 Created  id=1710203 responseStatus=201 Created token=glcbt-64
Uploading artifacts...
junit.xml: found 1 matching artifact files and directories 
Uploading artifacts as "junit" to coordinator... 201 Created  id=1710203 responseStatus=201 Created token=glcbt-64
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: command terminated with exit code 1
📌 Task
Status

Fixed

Component

Code

Created by

🇪🇸Spain gxleano Cáceres

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