aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2015-03-26 18:27:47 +0100
committerHeinrich Fenkart <[email protected]>2015-03-26 18:28:17 +0100
commitda63ff2e95b7088b1389de944e02bac5a6a6aa14 (patch)
tree6d318f1549e65ac3c7c291d52802510042c6d822 /js
parent5833d079a0e6951b6da160d224f803cc10bc38dd (diff)
downloadbootstrap-da63ff2e95b7088b1389de944e02bac5a6a6aa14.tar.xz
bootstrap-da63ff2e95b7088b1389de944e02bac5a6a6aa14.zip
JSCS: Add "disallowSpacesInFunctionDeclaration"
Valid: function a() {} Invalid: function a () {}
Diffstat (limited to 'js')
-rw-r--r--js/.jscsrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/.jscsrc b/js/.jscsrc
index 982676e15..caf1938f2 100644
--- a/js/.jscsrc
+++ b/js/.jscsrc
@@ -8,6 +8,7 @@
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforeBinaryOperators": [","],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
+ "disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideParentheses": true,