Bump JSCS to latest version

Change-Id: I44f8a6cc03c1e9e62b10daa1f91ed68ad1982349
This commit is contained in:
Vitaly Kramskikh 2014-12-19 12:18:51 +01:00
parent b6d961f206
commit d158e94134
3 changed files with 73 additions and 47 deletions

View File

@ -106,12 +106,14 @@ module.exports = function(grunt) {
},
jscs: {
options: {
requireSpaceBeforeKeywords: ['else', 'catch', 'finally'],
requireParenthesesAroundIIFE: true,
requireSpaceAfterKeywords: ['do', 'for', 'if', 'else', 'switch', 'case', 'try', 'while', 'return', 'typeof'],
requireSpaceBeforeBlockStatements: true,
requireSpacesInConditionalExpression: true,
requireSpacesInFunction: {beforeOpeningCurlyBrace: true},
disallowSpacesInFunction: {beforeOpeningRoundBrace: true},
disallowSpacesInCallExpression: true,
requireBlocksOnNewline: 1,
disallowPaddingNewlinesInBlocks: true,
disallowEmptyBlocks: true,

116
npm-shrinkwrap.json generated
View File

@ -119,7 +119,7 @@
"from": "underscore.string@~2.2.1"
},
"which": {
"version": "1.0.7",
"version": "1.0.8",
"from": "which@~1.0.5"
},
"js-yaml": {
@ -333,7 +333,7 @@
"from": "cookie-jar@~0.3.0"
},
"node-uuid": {
"version": "1.4.1",
"version": "1.4.2",
"from": "node-uuid@~1.4.0"
},
"mime": {
@ -406,7 +406,7 @@
"dependencies": {
"ansi-regex": {
"version": "0.2.1",
"from": "ansi-regex@^0.2.0"
"from": "ansi-regex@^0.2.1"
}
}
},
@ -416,7 +416,7 @@
"dependencies": {
"ansi-regex": {
"version": "0.2.1",
"from": "ansi-regex@^0.2.0"
"from": "ansi-regex@^0.2.1"
}
}
},
@ -486,7 +486,7 @@
},
"inherits": {
"version": "2.0.1",
"from": "inherits@~2.0.1"
"from": "inherits@2"
}
}
},
@ -507,7 +507,7 @@
}
},
"fstream-ignore": {
"version": "1.0.1",
"version": "1.0.2",
"from": "fstream-ignore@~1.0.1",
"dependencies": {
"inherits": {
@ -515,12 +515,22 @@
"from": "inherits@2"
},
"minimatch": {
"version": "1.0.0",
"from": "minimatch@^1.0.0",
"version": "2.0.1",
"from": "minimatch@^2.0.1",
"dependencies": {
"sigmund": {
"version": "1.0.0",
"from": "sigmund@~1.0.0"
"brace-expansion": {
"version": "1.1.0",
"from": "brace-expansion@^1.0.0",
"dependencies": {
"balanced-match": {
"version": "0.2.0",
"from": "balanced-match@^0.2.0"
},
"concat-map": {
"version": "0.0.1",
"from": "concat-map@0.0.1"
}
}
}
}
}
@ -528,7 +538,7 @@
},
"glob": {
"version": "4.0.6",
"from": "glob@~4.0.2",
"from": "glob@~4.0.0",
"dependencies": {
"inherits": {
"version": "2.0.1",
@ -583,7 +593,7 @@
"from": "async@~0.2.6"
},
"source-map": {
"version": "0.1.40",
"version": "0.1.41",
"from": "source-map@~0.1.7",
"dependencies": {
"amdefine": {
@ -676,7 +686,7 @@
},
"mute-stream": {
"version": "0.0.4",
"from": "mute-stream@~0.0.4"
"from": "mute-stream@0.0.4"
},
"readline2": {
"version": "0.1.0",
@ -703,7 +713,7 @@
}
},
"rx": {
"version": "2.3.18",
"version": "2.3.22",
"from": "rx@^2.2.27"
},
"through": {
@ -899,7 +909,7 @@
}
},
"rx": {
"version": "2.3.18",
"version": "2.3.22",
"from": "rx@^2.2.27"
},
"through": {
@ -982,7 +992,7 @@
},
"lru-cache": {
"version": "2.5.0",
"from": "lru-cache@2"
"from": "lru-cache@~2.5.0"
},
"mkdirp": {
"version": "0.5.0",
@ -1093,7 +1103,7 @@
"from": "mime-types@~1.0.1"
},
"node-uuid": {
"version": "1.4.1",
"version": "1.4.2",
"from": "node-uuid@~1.4.0"
},
"tunnel-agent": {
@ -1330,7 +1340,7 @@
"dependencies": {
"configstore": {
"version": "0.3.1",
"from": "configstore@^0.3.1",
"from": "configstore@^0.3.0",
"dependencies": {
"js-yaml": {
"version": "3.0.2",
@ -1455,7 +1465,7 @@
}
},
"which": {
"version": "1.0.7",
"version": "1.0.8",
"from": "which@~1.0.5"
}
}
@ -1511,7 +1521,7 @@
"from": "grunt-contrib-jshint@~0.10.0",
"dependencies": {
"jshint": {
"version": "2.5.10",
"version": "2.5.11",
"from": "jshint@~2.5.0",
"dependencies": {
"cli": {
@ -1858,7 +1868,7 @@
},
"async": {
"version": "0.2.10",
"from": "async@~0.2.6"
"from": "async@~0.2.8"
},
"glob": {
"version": "3.2.11",
@ -1929,29 +1939,33 @@
"from": "grunt-jison@~1.2.1"
},
"grunt-jscs": {
"version": "0.7.1",
"from": "grunt-jscs@~0.7.1",
"version": "1.0.0",
"from": "grunt-jscs@~1.0.0",
"dependencies": {
"hooker": {
"version": "0.2.3",
"from": "hooker@~0.2.3"
},
"jscs": {
"version": "1.6.2",
"from": "jscs@~1.6.0",
"version": "1.8.1",
"from": "jscs@~1.8.0",
"dependencies": {
"colors": {
"version": "0.6.2",
"from": "colors@~0.6.2"
"version": "1.0.3",
"from": "colors@~1.0.3"
},
"commander": {
"version": "2.3.0",
"from": "commander@~2.3.0"
"version": "2.5.1",
"from": "commander@~2.5.0"
},
"esprima": {
"version": "1.2.2",
"from": "esprima@~1.2.2"
},
"esprima-harmony-jscs": {
"version": "1.1.0-dev-harmony",
"from": "esprima-harmony-jscs@1.1.0-dev-harmony"
},
"exit": {
"version": "0.1.2",
"from": "exit@~0.1.2"
@ -2045,8 +2059,8 @@
"from": "xmlbuilder@~2.4.0"
},
"supports-color": {
"version": "1.1.0",
"from": "supports-color@~1.1.0"
"version": "1.2.0",
"from": "supports-color@~1.2.0"
}
}
},
@ -2105,7 +2119,7 @@
"from": "grunt-react@~0.10.0",
"dependencies": {
"react-tools": {
"version": "0.12.1",
"version": "0.12.2",
"from": "react-tools@^0.12.0",
"dependencies": {
"commoner": {
@ -2117,7 +2131,7 @@
"from": "q@~1.1.2"
},
"recast": {
"version": "0.9.8",
"version": "0.9.11",
"from": "recast@~0.9.5",
"dependencies": {
"esprima-fb": {
@ -2125,7 +2139,7 @@
"from": "esprima-fb@~8001.1001.0-dev-harmony-fb"
},
"source-map": {
"version": "0.1.40",
"version": "0.1.41",
"from": "source-map@~0.1.40",
"dependencies": {
"amdefine": {
@ -2135,13 +2149,13 @@
}
},
"ast-types": {
"version": "0.6.6",
"version": "0.6.7",
"from": "ast-types@~0.6.1"
}
}
},
"commander": {
"version": "2.5.0",
"version": "2.5.1",
"from": "commander@~2.5.0"
},
"graceful-fs": {
@ -2164,7 +2178,7 @@
},
"inherits": {
"version": "2.0.1",
"from": "inherits@2"
"from": "inherits@~2.0.1"
},
"minimatch": {
"version": "1.0.0",
@ -2277,7 +2291,7 @@
"from": "estraverse@~1.5.0"
},
"source-map": {
"version": "0.1.40",
"version": "0.1.41",
"from": "source-map@~0.1.33",
"dependencies": {
"amdefine": {
@ -2393,7 +2407,7 @@
"from": "mime@1.2.x"
},
"request": {
"version": "2.49.0",
"version": "2.51.0",
"from": "request@>=2.12.0",
"dependencies": {
"bl": {
@ -2433,12 +2447,22 @@
"from": "forever-agent@~0.5.0"
},
"form-data": {
"version": "0.1.4",
"from": "form-data@~0.1.0",
"version": "0.2.0",
"from": "form-data@~0.2.0",
"dependencies": {
"async": {
"version": "0.9.0",
"from": "async@~0.9.0"
},
"mime-types": {
"version": "2.0.4",
"from": "mime-types@~2.0.3",
"dependencies": {
"mime-db": {
"version": "1.3.1",
"from": "mime-db@~1.3.0"
}
}
}
}
},
@ -2451,7 +2475,7 @@
"from": "mime-types@~1.0.1"
},
"node-uuid": {
"version": "1.4.1",
"version": "1.4.2",
"from": "node-uuid@~1.4.0"
},
"qs": {
@ -2551,8 +2575,8 @@
}
},
"source-map": {
"version": "0.1.40",
"from": "source-map@~0.1.7",
"version": "0.1.41",
"from": "source-map@0.1.x",
"dependencies": {
"amdefine": {
"version": "0.1.0",
@ -2579,7 +2603,7 @@
"from": "async@~0.2.6"
},
"source-map": {
"version": "0.1.40",
"version": "0.1.41",
"from": "source-map@~0.1.7",
"dependencies": {
"amdefine": {

View File

@ -17,7 +17,7 @@
"grunt-debug-task": "~0.1.3",
"grunt-git-revision": "~0.0.1",
"grunt-jison": "~1.2.1",
"grunt-jscs": "~0.7.1",
"grunt-jscs": "~1.0.0",
"grunt-lintspaces": "~0.6.0",
"grunt-react": "~0.10.0",
"grunt-text-replace": "~0.3.12",