From: Paladox Date: Wed, 9 Dec 2015 21:45:44 +0000 (+0000) Subject: Update grunt-jscs to 2.5.0 X-Git-Tag: 1.31.0-rc.0~8725^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=9a1e6f8ab7fe1687bd1109bb36eeb85d2809c863 Update grunt-jscs to 2.5.0 2.5.0 Bump JSCS version to 2.7.0 2.4.0 Bump JSCS version to 2.6.0 2.3.0 Bump JSCS version to 2.5.0 2.2.0 * Update jscs dependency to 2.4.0 * Use new Checker#execute method, which allows to respect maxErrors * option when fix option is enabled * fix option is now directly passed to Checker class of jscs * Use new "idiomatic" preset instead of "jquery" * Test in latest version of node in travis CI * Update dev dependencies https://github.com/jscs-dev/grunt-jscs/releases Change-Id: I472a3c63fff814357799a3889b09bbb6a977474b --- diff --git a/package.json b/package.json index 209d325eb6..08646d6792 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "grunt-contrib-copy": "0.8.1", "grunt-contrib-jshint": "0.11.3", "grunt-contrib-watch": "0.6.1", - "grunt-jscs": "2.1.0", + "grunt-jscs": "2.5.0", "grunt-jsonlint": "1.0.5", "grunt-karma": "0.12.1", "karma": "0.13.10", diff --git a/resources/src/jquery/jquery.suggestions.js b/resources/src/jquery/jquery.suggestions.js index df6fff3552..719eacb3ea 100644 --- a/resources/src/jquery/jquery.suggestions.js +++ b/resources/src/jquery/jquery.suggestions.js @@ -19,6 +19,7 @@ * @class jQuery.plugin.suggestions */ + // jscs:disable checkParamNames /** * @method suggestions * @chainable @@ -93,6 +94,7 @@ * @param {boolean} [options.highlightInput=false] Whether to highlight matched portions of the * input or not. */ + // jscs:enable checkParamNames ( function ( $ ) {