|
|
@ -24,6 +24,7 @@ |
|
|
|
"requireParenthesesAroundIIFE": true, |
|
|
|
|
|
|
|
"requireSpaceBeforeBlockStatements": true, |
|
|
|
"disallowNewlineBeforeBlockStatements": true, |
|
|
|
|
|
|
|
"requireSpacesInConditionalExpression": true, |
|
|
|
|
|
|
@ -31,6 +32,18 @@ |
|
|
|
"beforeOpeningCurlyBrace": true |
|
|
|
}, |
|
|
|
|
|
|
|
"disallowSpacesInAnonymousFunctionExpression": { |
|
|
|
"beforeOpeningRoundBrace": true |
|
|
|
}, |
|
|
|
|
|
|
|
"disallowSpacesInFunctionDeclaration": { |
|
|
|
"beforeOpeningRoundBrace": true |
|
|
|
}, |
|
|
|
|
|
|
|
"disallowSpacesInFunctionExpression": { |
|
|
|
"beforeOpeningRoundBrace": true |
|
|
|
}, |
|
|
|
|
|
|
|
"requireSpaceBeforeBinaryOperators": [ |
|
|
|
"+", |
|
|
|
"-", |
|
|
@ -62,6 +75,12 @@ |
|
|
|
|
|
|
|
"safeContextKeyword": "self", |
|
|
|
|
|
|
|
"maximumLineLength": { |
|
|
|
"value": 120, |
|
|
|
"allowUrlComments": true, |
|
|
|
"allowRegex": true |
|
|
|
}, |
|
|
|
|
|
|
|
"validateIndentation": 4, |
|
|
|
"validateParameterSeparator": ", ", |
|
|
|
|
|
|
|