From 120b01696b8082b8a5f6d15a8fbd906b0576a3fa Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Wed, 14 Feb 2018 09:21:18 -0800 Subject: [PATCH] build: Bump devDependencies to latest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit eslint-config-wikimedia 0.4.0 → 0.5.0 grunt 1.0.1 → 1.0.2 grunt-banana-checker 0.5.0 → 0.6.0 grunt-eslint 19.0.0 → 20.1.0 grunt-jsonlint 1.0.8 → 1.1.0 grunt-stylelint 0.6.0 → 0.9.0 stylelint 7.8.0 → 8.2.0 stylelint-config-wikimedia 0.4.1 → 0.4.2 Change-Id: Id081b31764ae923486031255cc5f24bfd6601782 --- .stylelintrc.json | 2 +- modules/ext.categoryTree.js | 8 ++++---- package.json | 16 ++++++++-------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.stylelintrc.json b/.stylelintrc.json index 449f45bd..3282735b 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,7 +1,7 @@ { "extends": "stylelint-config-wikimedia", "rules": { - "selector-no-id": null, + "selector-max-id": null, "no-descending-specificity": null } } diff --git a/modules/ext.categoryTree.js b/modules/ext.categoryTree.js index 9e487115..d4053c30 100644 --- a/modules/ext.categoryTree.js +++ b/modules/ext.categoryTree.js @@ -23,8 +23,8 @@ .attr( 'title', function () { return mw.msg( $( this ).data( 'ct-state' ) === 'collapsed' ? - 'categorytree-expand' : - 'categorytree-collapse' + 'categorytree-expand' : + 'categorytree-collapse' ); } ) .addClass( 'CategoryTreeToggleHandlerAttached' ); @@ -52,7 +52,7 @@ function expandNode( $link ) { // Show the children node var $children = $link.parents( '.CategoryTreeItem' ) - .siblings( '.CategoryTreeChildren' ); + .siblings( '.CategoryTreeChildren' ); $children.show(); $link @@ -170,7 +170,7 @@ attachHandler( $children ); } ) - .fail( error ); + .fail( error ); } // Register click events diff --git a/package.json b/package.json index abc88b8e..b6e70d32 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,13 @@ "test": "grunt test" }, "devDependencies": { - "eslint-config-wikimedia": "0.4.0", - "grunt": "1.0.1", - "grunt-banana-checker": "0.5.0", - "grunt-eslint": "19.0.0", - "grunt-jsonlint": "1.0.8", - "grunt-stylelint": "0.6.0", - "stylelint": "7.8.0", - "stylelint-config-wikimedia": "0.4.1" + "eslint-config-wikimedia": "0.5.0", + "grunt": "1.0.2", + "grunt-banana-checker": "0.6.0", + "grunt-eslint": "20.1.0", + "grunt-jsonlint": "1.1.0", + "grunt-stylelint": "0.9.0", + "stylelint": "8.2.0", + "stylelint-config-wikimedia": "0.4.2" } }