]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
js/.jscs.json: sort by name.
authorXhmikosR <xhmikosr@users.sourceforge.net>
Mon, 16 Dec 2013 09:36:31 +0000 (11:36 +0200)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Sun, 22 Dec 2013 06:59:36 +0000 (08:59 +0200)
js/.jscs.json

index e8210ccde8d027c4536447d1ac8efccae25fa261..c4cac13de753f2dad5bc0078284abda444d0fdcb 100644 (file)
@@ -1,15 +1,15 @@
 {
-    "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
-    "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
+    "disallowKeywords": ["with"],
     "requireLeftStickedOperators": [","],
     "disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
-    "requireRightStickedOperators": ["!"],
     "disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
     "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
     "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
-    "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
+    "requireLineFeedAtFileEnd": true,
+    "requireRightStickedOperators": ["!"],
     "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
-    "disallowKeywords": ["with"],
-    "validateLineBreaks": "LF",
-    "requireLineFeedAtFileEnd": true
+    "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
+    "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
+    "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
+    "validateLineBreaks": "LF"
 }