xebia/angular-form-messages-example

View on GitHub
.jscsrc

Summary

Maintainability
Test Coverage
{
    "disallowEmptyBlocks": true,
    "disallowKeywords": ["with"],
    "disallowKeywordsOnNewLine": ["else"],
    "disallowMixedSpacesAndTabs": true,
    "disallowMultipleLineBreaks": true,
    "disallowQuotedKeysInObjects": true,
    "disallowSpaceAfterObjectKeys": true,
    "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "!"],
    "disallowSpaceBeforeBinaryOperators": [","],
    "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
    "disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
    "disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
    "disallowSpacesInsideArrayBrackets": true,
    "disallowTrailingComma": true,
    "disallowTrailingWhitespace": true,
    "jsDoc": { "checkParamNames": true, "checkRedundantParams": true, "requireParamTypes": true },
    "requireCamelCaseOrUpperCaseIdentifiers": true,
    "requireCapitalizedConstructors": true,
    "requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
    "requireLineFeedAtFileEnd": true,
    "requireParenthesesAroundIIFE": true,
    "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ","],
    "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
    "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!", "!=", "!=="],
    "requireSpaceBeforeBlockStatements": true,
    "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true },
    "requireSpacesInConditionalExpression": true,
    "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
    "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
    "requireSpacesInsideObjectBrackets": "all",
    "safeContextKeyword": ["self", "vm", "ctrl"],
    "validateIndentation": 2,
    "validateLineBreaks": "LF",
    "validateParameterSeparator": ", ",
    "validateQuoteMarks": "'"
}