mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05:00
Merge pull request #4244 from javorszky/iss4243
Added anonymous iife decl space rule to jscsrc
This commit is contained in:
commit
6d791c033d
1 changed files with 3 additions and 0 deletions
3
.jscsrc
3
.jscsrc
|
@ -31,6 +31,9 @@
|
||||||
"disallowSpacesInFunctionDeclaration": {
|
"disallowSpacesInFunctionDeclaration": {
|
||||||
"beforeOpeningRoundBrace": true
|
"beforeOpeningRoundBrace": true
|
||||||
},
|
},
|
||||||
|
"requireSpacesInAnonymousFunctionExpression": {
|
||||||
|
"beforeOpeningRoundBrace": true
|
||||||
|
},
|
||||||
"requireMultipleVarDecl": "onevar",
|
"requireMultipleVarDecl": "onevar",
|
||||||
"requireBlocksOnNewline": 1,
|
"requireBlocksOnNewline": 1,
|
||||||
"disallowPaddingNewlinesInBlocks": true,
|
"disallowPaddingNewlinesInBlocks": true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue