mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-24 00:10:24 +00:00
JSCS: Add "disallowSpacesInFunctionDeclaration"
Valid:
function a() {}
Invalid:
function a () {}
This commit is contained in:
parent
5833d079a0
commit
da63ff2e95
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
||||
"disallowSpaceBeforeBinaryOperators": [","],
|
||||
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
||||
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
|
||||
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
|
||||
"disallowSpacesInsideArrayBrackets": true,
|
||||
"disallowSpacesInsideParentheses": true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue