From e8e4429a22e19fed70e551a38096030fabfef12b Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Fri, 17 May 2024 23:03:00 +0200 Subject: [PATCH] build: Run stylelint for less file Follow-Up: I558fa2aaed90afee8488f8b68c71959e3c75331d Change-Id: I3a53a5cad92bb74a2a92385e40c939d4682315c0 --- Gruntfile.js | 2 +- modules/totp/ext.oath.showqrcode.styles.less | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index f6fbad19..ea9a15ab 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -15,7 +15,7 @@ module.exports = function ( grunt ) { }, stylelint: { all: [ - '**/*.css', + '**/*.{css,less}', '!node_modules/**', '!vendor/**' ] diff --git a/modules/totp/ext.oath.showqrcode.styles.less b/modules/totp/ext.oath.showqrcode.styles.less index 0484f947..ef5ba958 100644 --- a/modules/totp/ext.oath.showqrcode.styles.less +++ b/modules/totp/ext.oath.showqrcode.styles.less @@ -1,4 +1,4 @@ -@import "mediawiki.skin.variables.less"; +@import 'mediawiki.skin.variables.less'; kbd { font-family: monospace, monospace; @@ -13,6 +13,7 @@ fieldset { .cdx-button.mw-oathauth-recoverycodes-download { margin-top: 1em; } + .mw-oathauth-recoverycodes-download-icon { .cdx-mixin-css-icon( @cdx-icon-download, @param-is-button-icon: true ); }