GeoKnow/Jassa-Core

View on GitHub
.jscsrc

Summary

Maintainability
Test Coverage
{
    "preset": "google",
    "fileExtensions": [".js", ".jsx"],

    "excludeFiles": ["lib/ext/*"],

    "maximumLineLength": 200,

    "requireParenthesesAroundIIFE": true,
    "requireBlocksOnNewline": true,
    "requireTrailingComma": true,
    "requireCapitalizedConstructors": true,
    "requireDotNotation": true,
    "requireSpaceAfterLineComment": true,
    "requireCommaBeforeLineBreak": true,

    "requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",

    "validateLineBreaks": "LF",
    "validateIndentation": 4,
    "validateQuoteMarks": "'",

    "disallowEmptyBlocks": true,
    "disallowMultipleVarDecl": true,
    "disallowKeywords": ["with"],
    "disallowQuotedKeysInObjects": true,
    "disallowSpaceAfterObjectKeys": true,
    "disallowKeywordsOnNewLine": ["else", "catch"],
    "disallowYodaConditions": true,
    "disallowNewlineBeforeBlockStatements": true,
    "disallowImplicitTypeConversion": ["numeric", "boolean", "binary", "string"]
}