diff --git a/.stylelintrc b/.stylelintrc index 93f136b8927..d7a10322f7f 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -5,8 +5,6 @@ "no-descending-specificity": null, - "selector-no-id": null, - - "value-keyword-case": null + "selector-no-id": null } } diff --git a/resources/src/mediawiki.skinning/content.parsoid.less b/resources/src/mediawiki.skinning/content.parsoid.less index 2ec4be8313d..b3d161356fc 100644 --- a/resources/src/mediawiki.skinning/content.parsoid.less +++ b/resources/src/mediawiki.skinning/content.parsoid.less @@ -11,12 +11,12 @@ * automatically when content is modified. */ .mw-body-content { - counter-reset: mw-NumberedExtLink; + counter-reset: mw-numbered-ext-link; } .mw-body-content a[rel~='mw:ExtLink']:empty:after { - content: '[' counter( mw-NumberedExtLink ) ']'; - counter-increment: mw-NumberedExtLink; + content: '[' counter( mw-numbered-ext-link ) ']'; + counter-increment: mw-numbered-ext-link; } /** diff --git a/resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.definitions.less b/resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.definitions.less index c69cc44e4d6..fa45d5ac2d8 100644 --- a/resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.definitions.less +++ b/resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.definitions.less @@ -25,7 +25,7 @@ } .oo-ui-transition( @value1, @value2: X, ... ) { - @value: ~`'@{arguments}'.replace(/[\[\]]|\,\sX/g, '')`; // stylelint-disable-line function-comma-space-after, function-parentheses-space-inside, function-whitespace-after + @value: ~`'@{arguments}'.replace(/[\[\]]|\,\sX/g, '')`; // stylelint-disable-line function-comma-space-after, function-parentheses-space-inside, function-whitespace-after, value-keyword-case -webkit-transition: @value; -moz-transition: @value; transition: @value; diff --git a/resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less b/resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less index b929a5aa2b6..162e3a61abb 100644 --- a/resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less +++ b/resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less @@ -68,8 +68,8 @@ } .mw-widget-calendarWidget-body:not( .mw-widget-calendarWidget-old-body ):first-child { - margin-top: -@calendarHeight; - margin-left: -@calendarWidth; + margin-top: -@calendarHeight; /* stylelint-disable-line value-keyword-case */ + margin-left: -@calendarWidth; /* stylelint-disable-line value-keyword-case */ } .mw-widget-calendarWidget-body:not( .mw-widget-calendarWidget-old-body ):last-child { @@ -94,7 +94,7 @@ height: @calendarHeight; .mw-widget-calendarWidget-body:first-child { - margin-left: -@calendarWidth !important; + margin-left: -@calendarWidth !important; /* stylelint-disable-line value-keyword-case */ margin-top: 0 !important; .transition( margin-left 500ms ); } @@ -125,7 +125,7 @@ .mw-widget-calendarWidget-body:first-child { margin-left: 0 !important; - margin-top: -@calendarHeight !important; + margin-top: -@calendarHeight !important; /* stylelint-disable-line value-keyword-case */ .transition( margin-top 500ms ); } }