]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Update grunt and grunt-jscs-checker, use jquery preset for jscs
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 10 Jan 2014 15:06:55 +0000 (16:06 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 10 Jan 2014 15:06:58 +0000 (16:06 +0100)
.jscs.json
package.json

index 0e9cec8fe8f9d12417ba14c5999601925cff57e7..f5387e9af8a9800e84de09e2b1393ec4e42dc512 100644 (file)
@@ -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"
 }
index ec3f214d925930450d0364f58e3c2bf5d9b5b3a8..51068d3efb29b82cb4b9f8d508f26a685eb02fdc 100644 (file)
        },
        "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",