{
  "requireCurlyBraces": [
    // "if",
    // "else",
    "for",
    "while",
    "do",
    "try",
    "catch"
  ],
  "requireOperatorBeforeLineBreak": true,
  "requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
  "maximumLineLength": {
    "value": 160,
    "allowComments": true,
    "allowRegex": false
  },
  "validateIndentation": 2,

  "disallowMultipleLineStrings": true,
  "disallowMixedSpacesAndTabs": true,
  "disallowTrailingWhitespace": true,

  "requireSpaceAfterKeywords": [
    "function",
    "if",
    "else",
    "for",
    "while",
    "do",
    "switch",
    "return",
    "try",
    "catch"
  ],
  "requireSpaceBeforeBinaryOperators": [
    "=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=",
    "&=", "|=", "^=", "+=",

    "+", "-", "*", "/", "%", "<<", ">>", ">>>", "&",
    "|", "^", "&&", "||", "===", "==", ">=",
    "<=", "<", ">", "!=", "!=="
  ],
  "requireSpaceAfterBinaryOperators": true,
  "disallowSpaceAfterObjectKeys": true,

  "requireSpacesInConditionalExpression": true,
  "requireSpaceBeforeBlockStatements": true,
  "disallowNewlineBeforeBlockStatements": true,
  "requireLineFeedAtFileEnd": true,

  "requireSpacesInFunctionExpression": {
    "beforeOpeningCurlyBrace": true
  },
  "disallowSpacesInFunctionDeclaration": {
    "beforeOpeningRoundBrace": true
  },

  "disallowSpaceAfterPrefixUnaryOperators": true,
  "disallowSpaceBeforePostfixUnaryOperators": true,
  "disallowSpaceBeforeBinaryOperators": [
    ","
  ],
  "disallowSpacesInsideParentheses": true,

  "disallowSpacesInsideObjectBrackets": "all",
  "disallowSpacesInsideArrayBrackets": "all",
  "requireSpaceAfterLineComment": true,
  "requireLineFeedAtFileEnd": true,
  "disallowTrailingComma": true,
  "esnext": true
}
