Permalink
Browse files

Create .jscsrc

  • Loading branch information...
45kb committed Aug 12, 2015
1 parent fa47390 commit 1a3e206897496fd298d8e3aff27a926b4a907993
Showing with 106 additions and 0 deletions.
  1. +106 −0 .jscsrc
View
106 .jscsrc
@@ -0,0 +1,106 @@
{
"validateIndentation": 2,
"disallowAnonymousFunctions": true,
"disallowCapitalizedComments": true,
"disallowDanglingUnderscores": true,
"disallowEmptyBlocks": true,
"disallowFunctionDeclarations": true,
"disallowImplicitTypeConversion": [
"numeric",
"binary",
"string"
],
"disallowKeywordsOnNewLine": [
"else"
],
"disallowKeywords": [
"with"
],
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineBreaks": true,
"disallowMultipleLineStrings": true,
"disallowMultipleSpaces": true,
"disallowNewlineBeforeBlockStatements": true,
"disallowNotOperatorsInConditionals": true,
"disallowOperatorBeforeLineBreak": [
".",
"+"
],
"disallowSpacesInCallExpression": true,
"disallowYodaConditions": true,
"requireBlocksOnNewline": true,
"requireCurlyBraces": [
"if",
"else",
"for",
"while",
"do",
"try",
"catch",
"case",
"default"
],
"requireDotNotation": true,
"requireLineBreakAfterVariableAssignment": true,
"requireLineFeedAtFileEnd": true,
"requireMultipleVarDecl": true,
"requireNamedUnassignedFunctions": true,
"requireOperatorBeforeLineBreak": [
"?",
"=",
"+",
"-",
"/",
"*",
"==",
"===",
"!=",
"!==",
">",
">=",
"<",
"<="
],
"requirePaddingNewLineAfterVariableDeclaration": true,
"requirePaddingNewLinesAfterUseStrict": true,
"requirePaddingNewLinesBeforeExport": true,
"requirePaddingNewLinesInObjects": true,
"requireParenthesesAroundIIFE": true,
"requireQuotedKeysInObjects": true,
"requireSpaceBetweenArguments": true,
"requireSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
},
"requireSpacesInForStatement": true,
"requireSpacesInFunctionDeclaration": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInFunctionDeclaration": {
"beforeOpeningRoundBrace": true
},
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"requireSpacesInFunction": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInFunction": {
"beforeOpeningRoundBrace": true
},
"requireSpacesInNamedFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInNamedFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"safeContextKeyword": [
"that"
],
"validateAlignedFunctionParameters": {
"lineBreakAfterOpeningBraces": true
}
}

0 comments on commit 1a3e206

Please sign in to comment.