fuel-web/nailgun/.jscsrc
Vitaly Kramskikh 6c70eacaff JSCS Autofixing
Run via `gulp jscs:fix`

Also change disallowMultipleSpaces to allow multiple spaces
before one-line comments

Change-Id: Ic99566d9fcd9b321407cfbacc41eaaa2c8dcefbc
2015-06-08 17:50:40 +03:00

43 lines
1.9 KiB
Plaintext

{
"esprima": "esprima-fb",
"requireSpaceBeforeKeywords": ["else", "catch", "finally"],
"requireParenthesesAroundIIFE": true,
"requireSpaceAfterKeywords": ["do", "for", "if", "else", "switch", "case", "try", "while", "return", "typeof"],
"requireSpaceBeforeBlockStatements": true,
"requireSpacesInConditionalExpression": true,
"requireSpacesInFunction": {"beforeOpeningCurlyBrace": true},
"disallowSpacesInFunction": {"beforeOpeningRoundBrace": true},
"disallowSpacesInCallExpression": true,
"requireBlocksOnNewline": 1,
"disallowPaddingNewlinesInBlocks": true,
"disallowEmptyBlocks": true,
"disallowSpacesInsideObjectBrackets": "all",
"disallowSpacesInsideArrayBrackets": "all",
"disallowSpacesInsideParentheses": true,
"disallowQuotedKeysInObjects": true,
"disallowSpaceAfterObjectKeys": true,
"requireSpaceBeforeObjectValues": true,
"requireCommaBeforeLineBreak": true,
"requireOperatorBeforeLineBreak": true,
"disallowSpaceAfterPrefixUnaryOperators": true,
"disallowSpaceBeforePostfixUnaryOperators": true,
"requireSpaceBeforeBinaryOperators": true,
"requireSpaceAfterBinaryOperators": true,
"disallowImplicitTypeConversion": ["numeric", "string"],
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
"disallowKeywords": ["with"],
"disallowMultipleLineStrings": true,
"disallowMultipleLineBreaks": true,
"disallowMultipleSpaces": {"allowEOLComments": true},
"disallowMixedSpacesAndTabs": true,
"disallowTrailingComma": true,
"disallowKeywordsOnNewLine": ["else"],
"requireCapitalizedConstructors": true,
"requireDotNotation": true,
"disallowYodaConditions": true,
"disallowNewlineBeforeBlockStatements": true,
"validateLineBreaks": "LF",
"validateParameterSeparator": ", ",
"validateQuoteMarks": {"mark": "'", "escape": true}
}