deepsweet/get-local-ip

View on GitHub
.jscsrc

Summary

Maintainability
Test Coverage
{
  "requireCurlyBraces": [
    "if",
    "else",
    "for",
    "while",
    "do",
    "try",
    "catch",
    "case",
    "default"
  ],
  "requireSpaceAfterKeywords": [
    "if",
    "else",
    "for",
    "while",
    "do",
    "switch",
    "return",
    "try",
    "catch"
  ],
  "requireSpaceBeforeBlockStatements": true,
  "requireParenthesesAroundIIFE": true,
  "requireSpacesInConditionalExpression": {
    "afterTest": true,
    "beforeConsequent": true,
    "afterConsequent": true,
    "beforeAlternate": true
  },
  "requireSpacesInAnonymousFunctionExpression": {
    "beforeOpeningCurlyBrace": true
  },
  "disallowSpacesInAnonymousFunctionExpression": {
    "beforeOpeningRoundBrace": true
  },
  "requireSpacesInNamedFunctionExpression": {
    "beforeOpeningCurlyBrace": true
  },
  "disallowSpacesInNamedFunctionExpression": {
    "beforeOpeningRoundBrace": true
  },
  "requireBlocksOnNewline": true,
  "requireSpacesInsideObjectBrackets": "all",
  "requireSpacesInsideArrayBrackets": "all",
  "disallowSpaceAfterObjectKeys": true,
  "requireCommaBeforeLineBreak": true,
  "requireOperatorBeforeLineBreak": [
    "?",
    "=",
    "+",
    "-",
    "/",
    "*",
    "==",
    "===",
    "!=",
    "!==",
    ">",
    ">=",
    "<",
    "<="
  ],
  "disallowSpaceAfterPrefixUnaryOperators": [ "++", "--", "+", "-", "~", "!" ],
  "disallowSpaceBeforePostfixUnaryOperators": [ "++", "--" ],
  "requireSpaceBeforeBinaryOperators": [
    "=",
    "+",
    "-",
    "/",
    "*",
    "==",
    "===",
    "!=",
    "!=="
  ],
  "requireSpaceAfterBinaryOperators": [
    "=",
    ",",
    "+",
    "-",
    "/",
    "*",
    "==",
    "===",
    "!=",
    "!=="
  ],
  "disallowMultipleLineBreaks": true,
  "validateLineBreaks": "LF",
  "validateQuoteMarks": "'",
  "validateIndentation": 4,
  "disallowMixedSpacesAndTabs": true,
  "disallowTrailingWhitespace": true,
  "disallowTrailingComma": true,
  "disallowKeywordsOnNewLine": ["else"],
  "requireLineFeedAtFileEnd": true,
  "requireCapitalizedConstructors": true,
  "safeContextKeyword": ["that"],
  "disallowYodaConditions": true,
  "requireSpaceAfterLineComment": true,
  "requireAnonymousFunctions": true,
  "disallowNewlineBeforeBlockStatements": true,
  "disallowMultipleVarDecl": true
}