There is 1 comment.
 
 
XWiki Infrastructure / cid:jira-generated-image-avatar-39e765b0-e775-4238-bda4-cd460f1b8614 XINFRA-432 Open

Test failures of xwiki-platform-bootstrap aren't reported

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-3b49a357-09e7-4b48-bdbd-7d2d0617ab75 Charpentier Lucas on 17/Jun/25 18:20
 

Note that the linting is very restrictive. I don't think that all those rules align with our codestyle.

Some are fairly easy to fix and I don't see a reason why not using them (`no-eol-whitespace`, `order/properties-order` and `selector-list-comma-newline-after`), but `selector-max` rules are not an easy fix at all. We need to change the selectors, so possibly fit the DOM to the new selector and break backward compatibility... If we want to be able to update the DOM without a discussion every time, we need to explicitely have the rule in our codestyle.

AFAIU the codelinter is configured at https://github.com/xwiki/xwiki-platform/blob/de55262bf6fcdd1ab49cae3e0c6e791d01f0412b/xwiki-platform-core/xwiki-platform-bootstrap/src/main/grunt/.stylelintrc#L1-L289