Navigation Menu

Skip to content

Commit

Permalink
Build: Update grunt and grunt-jscs-checker, use jquery preset for jscs
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Jan 10, 2014
1 parent 0dc84db commit e15d8cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 26 deletions.
25 changes: 1 addition & 24 deletions .jscs.json
@@ -1,26 +1,3 @@
{ {
"requireCurlyBraces": [ "if", "else", "for", "while", "do" ], "preset": "jquery"
"requireSpaceAfterKeywords": [ "if", "else", "for", "while", "do", "switch", "return" ],
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"requireMultipleVarDecl": true,
"requireSpacesInsideObjectBrackets": "all",
"requireSpacesInsideArrayBrackets": "all",
"disallowLeftStickedOperators": [ "?", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ],
"disallowRightStickedOperators": [ "?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"requireRightStickedOperators": [ "!" ],
"requireLeftStickedOperators": [ "," ],
"disallowKeywords": [ "with" ],
"disallowMultipleLineBreaks": true,
"disallowKeywordsOnNewLine": [ "else" ],
"requireLineFeedAtFileEnd": true,
"disallowSpaceAfterObjectKeys": true,
"validateLineBreaks": "LF"
} }
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -56,14 +56,14 @@
}, },
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {
"grunt": "0.4.1", "grunt": "0.4.2",
"grunt-contrib-jshint": "0.7.1", "grunt-contrib-jshint": "0.7.1",
"grunt-contrib-uglify": "0.1.1", "grunt-contrib-uglify": "0.1.1",
"grunt-contrib-concat": "0.1.3", "grunt-contrib-concat": "0.1.3",
"grunt-contrib-qunit": "0.2.0", "grunt-contrib-qunit": "0.2.0",
"grunt-contrib-csslint": "0.1.1", "grunt-contrib-csslint": "0.1.1",
"grunt-compare-size": "0.4.0-rc.3", "grunt-compare-size": "0.4.0-rc.3",
"grunt-jscs-checker": "0.2.6", "grunt-jscs-checker": "0.3.1",
"grunt-html": "0.3.3", "grunt-html": "0.3.3",
"grunt-git-authors": "1.2.0", "grunt-git-authors": "1.2.0",
"grunt-esformatter": "0.2.0", "grunt-esformatter": "0.2.0",
Expand Down

0 comments on commit e15d8cc

Please sign in to comment.