Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Build: Update grunt and grunt-jscs-checker, use jquery preset for jscs

  • Loading branch information...
commit e15d8cc232743a343950b420f31e6f2cf85366c3 1 parent 0dc84db
@jzaefferer jzaefferer authored
Showing with 3 additions and 26 deletions.
  1. +1 −24 .jscs.json
  2. +2 −2 package.json
View
25 .jscs.json
@@ -1,26 +1,3 @@
{
- "requireCurlyBraces": [ "if", "else", "for", "while", "do" ],
- "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"
+ "preset": "jquery"
}
View
4 package.json
@@ -56,14 +56,14 @@
},
"dependencies": {},
"devDependencies": {
- "grunt": "0.4.1",
+ "grunt": "0.4.2",
"grunt-contrib-jshint": "0.7.1",
"grunt-contrib-uglify": "0.1.1",
"grunt-contrib-concat": "0.1.3",
"grunt-contrib-qunit": "0.2.0",
"grunt-contrib-csslint": "0.1.1",
"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-git-authors": "1.2.0",
"grunt-esformatter": "0.2.0",
Please sign in to comment.
Something went wrong with that request. Please try again.