Jump to content

Topic on Manual talk:Coding conventions/CSS

Indentation failure with stylelint on ZeroBanner/modules/redux.less

1
Summary by Volker E. (WMF)

No new activity for a while. stylelint in production in a huge range of Wikimedia deployed products without this specific issue.

Umherirrender (talkcontribs)

Stylelint always gives an error

on this file: https://gerrit.wikimedia.org/r/#/c/348688/8/modules/redux.less

Running "stylelint:all" (stylelint) task

>> modules/redux.less

>>  2:2   ✖  Expected indentation of 1 tab     indentation                 

>>  2:32  ✖  Expected indentation of 1 tab     indentation                 

>>  4:27  ✖  Expected indentation of 1 tab     indentation                 

Would be nice to know why and how to fix it. The "stylelint-disable" comment for the whole file is not the best option.

Thanks.