jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/338485 )
Change subject: build: Bump stylelint and make pass ...................................................................... build: Bump stylelint and make pass grunt-stylelint 0.6.0 → 0.7.0 stylelint-config-wikimedia 0.3.0 → 0.4.1 Change-Id: Id87b8df04d415e1f1058a4042a31408236402037 --- M package.json M styles/control-scale.less M styles/dialog.less M styles/leaflet-overrides.less M styles/specialMap.less 5 files changed, 12 insertions(+), 12 deletions(-) Approvals: MaxSem: Looks good to me, approved jenkins-bot: Verified diff --git a/package.json b/package.json index 486502c..a67a88e 100644 --- a/package.json +++ b/package.json @@ -16,13 +16,13 @@ "grunt-contrib-watch": "1.0.0", "grunt-eslint": "19.0.0", "grunt-jsonlint": "1.1.0", - "grunt-stylelint": "0.6.0", + "grunt-stylelint": "0.7.0", "mapbox.js": "2.3.0", "prunecluster": "^2.0.0-beta.3", "rollup": "^0.36.1", "rollup-plugin-commonjs": "^5.0.4", - "stylelint": "^7.0.2", - "stylelint-config-wikimedia": "^0.3.0" + "stylelint": "7.8.0", + "stylelint-config-wikimedia": "0.4.1" }, "dependencies": { "leaflet": "^0.7.7", diff --git a/styles/control-scale.less b/styles/control-scale.less index 71dac25..d0bedf8 100644 --- a/styles/control-scale.less +++ b/styles/control-scale.less @@ -26,7 +26,7 @@ } /** Override initial properties */ - &:not(:first-child) { + &:not( :first-child ) { border: 1px solid #999; border-color: #000; border-top: 0; diff --git a/styles/dialog.less b/styles/dialog.less index 70f57bf..d14a813 100644 --- a/styles/dialog.less +++ b/styles/dialog.less @@ -112,7 +112,7 @@ text-align: left; } - tr:nth-child(even) { + tr:nth-child( even ) { background-color: @wmui-color-base100; } } diff --git a/styles/leaflet-overrides.less b/styles/leaflet-overrides.less index 06f26a4..6ba5790 100644 --- a/styles/leaflet-overrides.less +++ b/styles/leaflet-overrides.less @@ -92,7 +92,7 @@ border-radius: @border-radius-base; } .leaflet-bar > a:first-child { - &:not(:only-of-type) { + &:not( :only-of-type ) { border-radius: @border-radius-base @border-radius-base 0 0; } } @@ -106,7 +106,7 @@ border-bottom: @border-base; border-color: @border-color-base--active; } - &:not(:only-of-type) { + &:not( :only-of-type ) { border-radius: 0 0 @border-radius-base @border-radius-base; } } diff --git a/styles/specialMap.less b/styles/specialMap.less index f2cb16c..71c4fe8 100644 --- a/styles/specialMap.less +++ b/styles/specialMap.less @@ -26,21 +26,21 @@ width: @mapWidth; height: @mapHeight; /* stylelint-disable function-parentheses-space-inside */ - background-image: url(//maps.wikimedia.org/osm-intl/0/0/0.png); + background-image: url(https://maps.wikimedia.org/osm-intl/0/0/0.png); /* stylelint-enable function-parentheses-space-inside */ background-position: center; background-repeat: no-repeat; background-size: @mapWidth @mapHeight; } -/* stylelint-disable media-feature-name-no-vendor-prefix */ +/* stylelint-disable media-feature-name-no-vendor-prefix, media-feature-name-no-unknown */ @media ( -webkit-min-device-pixel-ratio: 1.5 ), ( min--moz-device-pixel-ratio: 1.5 ), ( min-resolution: 1.5dppx ), ( min-resolution: 144dpi ) { div#mw-specialMap-map { /* stylelint-disable function-parentheses-space-inside */ - background-image: url(//maps.wikimedia.org/osm-intl/0/0/0...@1.5x.png); + background-image: url(https://maps.wikimedia.org/osm-intl/0/0/0...@1.5x.png); /* stylelint-enable function-parentheses-space-inside */ } } @@ -51,11 +51,11 @@ ( min-resolution: 192dpi ) { div#mw-specialMap-map { /* stylelint-disable function-parentheses-space-inside */ - background-image: url(//maps.wikimedia.org/osm-intl/0/0/0...@2x.png); + background-image: url(https://maps.wikimedia.org/osm-intl/0/0/0...@2x.png); /* stylelint-enable function-parentheses-space-inside */ } } -/* stylelint-enable media-feature-name-no-vendor-prefix */ +/* stylelint-enable media-feature-name-no-vendor-prefix, media-feature-name-no-unknown */ div#mw-specialMap-marker { position: absolute; -- To view, visit https://gerrit.wikimedia.org/r/338485 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id87b8df04d415e1f1058a4042a31408236402037 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Kartographer Gerrit-Branch: master Gerrit-Owner: Jforrester <jforres...@wikimedia.org> Gerrit-Reviewer: MaxSem <maxsem.w...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits