Skip to content

Commit 2b4dab6

Browse files
committed
build: Update stylelint-config-wikimedia
Change-Id: I4e56a07c0cd478fb2ea1908c79f584ea3e4d788e
1 parent 16a94d8 commit 2b4dab6

7 files changed

+339
-141
lines changed

.stylelintrc.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
],
66
"rules": {
77
"no-descending-specificity": null,
8-
"selector-class-pattern": "^(ve|mw|oo-ui|client|skin)-",
9-
"plugin/no-unsupported-browser-features": null,
10-
"declaration-property-unit-disallowed-list": null
8+
"selector-class-pattern": "^(ve|mw|oo-ui|client|skin)-"
119
}
1210
}

modules/ve-mw/preinit/styles/ve.init.MWVESwitchConfirmDialog-apex.css

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
/* stylelint-disable-next-line selector-class-pattern */
99
.wikiEditor-ui-toolbar .ve-init-mw-editSwitch {
10+
/* stylelint-disable-next-line declaration-property-unit-disallowed-list */
1011
font-size: 12.8px;
1112
}
1213

modules/ve-mw/ui/styles/dialogs/ve.ui.MWGalleryDialog.css

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102

103103
.ve-ui-mwGalleryDialog-imageListMenuLayout-mobile > .oo-ui-menuLayout-menu {
104104
box-shadow: -1px 0 0 0 rgba( 0, 0, 0, 0.05 );
105+
/* stylelint-disable-next-line declaration-property-unit-disallowed-list */
105106
line-height: 102px;
106107
width: 4em;
107108
}

modules/ve-mw/ui/styles/layouts/ve.ui.MWTwoPaneTransclusionDialogLayout.less

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
top: 0;
55
left: 0;
66
right: 0;
7-
/* stylelint-disable-next-line declaration-block-no-redundant-longhand-properties */
87
bottom: 2.5em;
98
overflow: auto;
109
/* Compensate for 2 * 2px padding on the .oo-ui-outlineControlsWidget + 1px border */

modules/ve-mw/ui/styles/pages/ve.ui.MWParameterPage.css

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626

2727
.ve-ui-mwParameterPage-undocumentedLabel {
2828
margin-left: 0.4em;
29+
/* TODO: Use ems? */
30+
/* stylelint-disable-next-line declaration-property-unit-disallowed-list */
2931
font-size: 13px;
3032
font-style: italic;
3133
font-weight: normal;

0 commit comments

Comments
 (0)