From: Iskren Chernev Date: Sun, 22 Mar 2015 22:17:13 +0000 (-0700) Subject: Update grunt jscs X-Git-Tag: 2.10.2~15^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=328f1892a1e955364d8b34b27d38a3aab2be823c;p=thirdparty%2Fmoment.git Update grunt jscs --- diff --git a/.jscs.json b/.jscs.json index 3eeef95cd..72747b5f4 100644 --- a/.jscs.json +++ b/.jscs.json @@ -32,7 +32,6 @@ "disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, - "requireMultipleVarDecl": "onevar", "requireBlocksOnNewline": true, "disallowPaddingNewlinesInBlocks": true, "disallowEmptyBlocks": true, diff --git a/Gruntfile.js b/Gruntfile.js index 2130f9e72..965be03a5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -139,8 +139,9 @@ module.exports = function (grunt) { }, jscs: { all: [ - 'Gruntfile.js', 'moment.js', 'locale/**/*.js', - 'test/**/*.js', '!test/browser*.js' + 'Gruntfile.js', + 'tasks/**.js', + 'src/**/*.js' ], options: { config: '.jscs.json'