Skip to content

Commit 049cf20

Browse files
committed
warn on unneeded rules
1 parent d4987bf commit 049cf20

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.stylelintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ module.exports = {
4343
'color-hex-case': null, // 1 error
4444
'color-hex-length': null, // 1 error
4545
},
46+
reportNeedlessDisables: true,
4647
};

src/themes/default/globals/colors.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@
481481
bright : @blackBright;
482482
brightHover : @blackBrightHover;
483483
isDark : true;
484-
isVeryDark : true; // stylelint-disable-line no-extra-semicolons, fix GH-1832 - workaround for wikimedia/less.php parser
484+
isVeryDark : true; // stylelint-disable-line no-extra-semicolons
485485
};
486486
};
487487

@@ -613,7 +613,7 @@
613613
@success: { // stylelint-disable-line indentation
614614
color: @positiveColor;
615615
};
616-
@warning: { // stylelint-disable-line no-extra-semicolons, fix GH-1832 - workaround for wikimedia/less.php parser, indentation
616+
@warning: { // stylelint-disable-line no-extra-semicolons, indentation
617617
color: @warningColor;
618618
};
619619
};

0 commit comments

Comments
 (0)