Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
01ff20e1
Commit
01ff20e1
authored
10 years ago
by
Heinrich Fenkart
Browse files
Options
Download
Plain Diff
Merge pull request #16162 from twbs/jscs-fn-decl
JSCS: Add "disallowSpacesInFunctionDeclaration"
parents
5833d079
da63ff2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/.jscsrc
+1
-0
js/.jscsrc
with
1 addition
and
0 deletions
+1
-0
js/.jscsrc
+
1
-
0
View file @
01ff20e1
...
...
@@ -8,6 +8,7 @@
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforeBinaryOperators": [","],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideParentheses": true,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment