build: Enable declaration-block-no-duplicate-properties stylelint rule
[lhc/web/wiklou.git] / resources / src / mediawiki.ui / components / buttons.less
index a281e67..0e97a36 100644 (file)
@@ -43,7 +43,7 @@
 
        // IE 6 & 7 hack
        // https://stackoverflow.com/a/5838575/365238
-       *display: inline;
+       *display: inline; /* stylelint-disable-line declaration-block-no-duplicate-properties */
        zoom: 1;
 
        // Ensure that buttons and inputs are nicely aligned when they have differing heights
        //
        // Use progressive buttons for actions which lead to a next step in the process.
        // .mw-ui-constructive is deprecated; consolidated with `progressive`, see T110555
-       // .mw-ui-primary is deprecated, kept for compatibility.
        //
        // Markup:
        // <div>
        //
        // Styleguide 2.1.1.
        &.mw-ui-progressive,
-       &.mw-ui-constructive,
-       &.mw-ui-primary {
+       &.mw-ui-constructive {
                .button-colors-primary( @colorProgressive, @colorProgressiveHighlight, @colorProgressiveActive );
 
                &.mw-ui-quiet {