jenkins-bot has submitted this change and it was merged. Change subject: Update VE core submodule to master (eeaf1e2) ......................................................................
Update VE core submodule to master (eeaf1e2) New changes: c54a48a build: Fix watch list (csslint -> stylelint) 58ba3d9 Add stylelint rules for @-rules 3f8c75a Stylelint: Add rule for unsupported browser features 3b96ff3 Fix minimum Opera version (15 -> 12) 9a1110b Stylelint: No ID selectors 9800bb8 build: Remove remaining references to csslint b6ab14a stylelint: Re-enable features by names 6cc1f3c Move stylelint to npm 1d15fa0 build: Bump stylelint version to v0.2.0 ccc1724 stylelint: Use the preset rather than extending Change-Id: I22fa8098592338a5e912aba9ad21131b21d9c0ea --- M lib/ve M modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-vector.css M modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-monobook.css M modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css M modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.noscript.css M modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.css M modules/ve-mw/ui/styles/tools/ve.ui.MWEducationPopupTool.css M modules/ve-mw/ui/styles/widgets/ve.ui.MWCategoryWidget.css M modules/ve-mw/ui/styles/widgets/ve.ui.MWMediaInfoFieldWidget.css M modules/ve-mw/ui/styles/widgets/ve.ui.MWMediaResultWidget.css M package.json 11 files changed, 16 insertions(+), 12 deletions(-) Approvals: Esanders: Looks good to me, approved jenkins-bot: Verified diff --git a/lib/ve b/lib/ve index 12ad256..eeaf1e2 160000 --- a/lib/ve +++ b/lib/ve -Subproject commit 12ad256600d8d91ff2df7a082d3d0df231f5411a +Subproject commit eeaf1e235949346d86cc948e273513ad8917f2ab diff --git a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-vector.css b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-vector.css index 5a02814..f8fdd60 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-vector.css +++ b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-vector.css @@ -89,7 +89,7 @@ } /* ve.ce.TableCellnode.css's margin replaced by more specific rule in Vector (div#content p) */ -#content .ve-ce-tableCellNode .ve-ce-paragraphNode { +#content .ve-ce-tableCellNode .ve-ce-paragraphNode { /* stylelint-disable-line selector-no-id */ margin: 0; } diff --git a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-monobook.css b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-monobook.css index 6ee1d55..45089e3 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-monobook.css +++ b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-monobook.css @@ -21,5 +21,5 @@ background-image: -webkit-linear-gradient( top, #eaf4fa 0%, #b0d9ee 100% ); background-image: -moz-linear-gradient( top, #eaf4fa 0%, #b0d9ee 100% ); background-image: linear-gradient( to bottom, #eaf4fa 0%, #b0d9ee 100% ); - /* stylelint-enable */ + /* stylelint-enable no-unsupported-browser-features */ } diff --git a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css index 96993bc..ae7f264 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css +++ b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css @@ -5,7 +5,7 @@ * @license The MIT License (MIT); see LICENSE.txt */ -/* Bug: https://github.com/stubbornella/csslint/issues/436 */ +/* stylelint-disable selector-no-id */ /*! * State | <html> classes @@ -53,7 +53,7 @@ -moz-user-select: none; -ms-user-select: none; user-select: none; - /* stylelint-enable */ + /* stylelint-enable no-unsupported-browser-features */ } /* Progress bar mimicking OOUI */ @@ -61,6 +61,7 @@ .ve-activated #content { position: relative; } +/* stylelint-enable selector-no-id */ .ve-init-mw-desktopArticleTarget-loading-overlay { position: absolute; diff --git a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.noscript.css b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.noscript.css index d08414a..2cd6f64 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.noscript.css +++ b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.noscript.css @@ -5,6 +5,8 @@ * @license The MIT License (MIT); see LICENSE.txt */ +/* stylelint-disable selector-no-id */ + /* Hide VE edit tab and section edit things for noscript users. * For script users they're always visible unless and until ve-not-available is added. */ @@ -17,6 +19,8 @@ display: none; } +/* stylelint-enable selector-no-id */ + /* For script users, expand brackets by default, unless and until ve-not-available is added */ /* @noflip */ diff --git a/modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.css b/modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.css index 552824f..abce708 100644 --- a/modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.css +++ b/modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.css @@ -69,5 +69,5 @@ -webkit-transition: all 250ms ease-in-out; -moz-transition: all 250ms ease-in-out; transition: all 250ms ease-in-out; - /* stylelint-enable */ + /* stylelint-enable no-unsupported-browser-features */ } diff --git a/modules/ve-mw/ui/styles/tools/ve.ui.MWEducationPopupTool.css b/modules/ve-mw/ui/styles/tools/ve.ui.MWEducationPopupTool.css index c426a5b..ad912e7 100644 --- a/modules/ve-mw/ui/styles/tools/ve.ui.MWEducationPopupTool.css +++ b/modules/ve-mw/ui/styles/tools/ve.ui.MWEducationPopupTool.css @@ -19,7 +19,7 @@ -webkit-animation-iteration-count: infinite; -moz-animation-iteration-count: infinite; animation-iteration-count: infinite; - /* stylelint-enable */ + /* stylelint-enable no-unsupported-browser-features */ } .ve-ui-stillDot { diff --git a/modules/ve-mw/ui/styles/widgets/ve.ui.MWCategoryWidget.css b/modules/ve-mw/ui/styles/widgets/ve.ui.MWCategoryWidget.css index b2af441..c90faee 100644 --- a/modules/ve-mw/ui/styles/widgets/ve.ui.MWCategoryWidget.css +++ b/modules/ve-mw/ui/styles/widgets/ve.ui.MWCategoryWidget.css @@ -20,6 +20,5 @@ word-break: break-word; word-wrap: break-word; overflow-wrap: break-word; - /* stylelint-enable */ + /* stylelint-enable no-unsupported-browser-features */ } - diff --git a/modules/ve-mw/ui/styles/widgets/ve.ui.MWMediaInfoFieldWidget.css b/modules/ve-mw/ui/styles/widgets/ve.ui.MWMediaInfoFieldWidget.css index b21ed44..98edba9 100644 --- a/modules/ve-mw/ui/styles/widgets/ve.ui.MWMediaInfoFieldWidget.css +++ b/modules/ve-mw/ui/styles/widgets/ve.ui.MWMediaInfoFieldWidget.css @@ -20,7 +20,7 @@ -webkit-transition: max-height 0.5s ease-in; -moz-transition: max-height 0.5s ease-in; transition: max-height 0.5s ease-in; - /* stylelint-enable */ + /* stylelint-enable no-unsupported-browser-features */ } .ve-ui-mwMediaInfoFieldWidget-readmore { @@ -31,7 +31,7 @@ /* stylelint-disable no-unsupported-browser-features */ background: -webkit-linear-gradient( top, rgba( 255, 255, 255, 0 ) 0, #fff 50% ); background: linear-gradient( to bottom, rgba( 255, 255, 255, 0 ) 0, #fff 50% ); - /* stylelint-enable */ + /* stylelint-enable no-unsupported-browser-features */ } .ve-ui-mwMediaInfoFieldWidget.oo-ui-iconElement .oo-ui-labelElement-label { diff --git a/modules/ve-mw/ui/styles/widgets/ve.ui.MWMediaResultWidget.css b/modules/ve-mw/ui/styles/widgets/ve.ui.MWMediaResultWidget.css index 818fe49..e891251 100644 --- a/modules/ve-mw/ui/styles/widgets/ve.ui.MWMediaResultWidget.css +++ b/modules/ve-mw/ui/styles/widgets/ve.ui.MWMediaResultWidget.css @@ -34,7 +34,7 @@ -webkit-transition: opacity 400ms; -moz-transition: opacity 400ms; transition: opacity 400ms; - /* stylelint-enable */ + /* stylelint-enable no-unsupported-browser-features */ } .ve-ui-mwMediaResultWidget-done .ve-ui-mwMediaResultWidget-thumbnail, diff --git a/package.json b/package.json index 25bf777..bb98e7e 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,6 @@ "grunt-jsonlint": "1.0.7", "grunt-stylelint": "0.2.0", "grunt-tyops": "0.1.0", - "stylelint": "6.3.3" + "stylelint-config-wikimedia": "0.1.0" } } -- To view, visit https://gerrit.wikimedia.org/r/289245 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I22fa8098592338a5e912aba9ad21131b21d9c0ea Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Jforrester <jforres...@wikimedia.org> Gerrit-Reviewer: Esanders <esand...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits