f90e9a177935a67abd67a95130a90ad87b5cb211.svn-base 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "esnext": true,
  3. "disallowEmptyBlocks": true,
  4. "disallowKeywords": ["with"],
  5. "disallowMixedSpacesAndTabs": true,
  6. "disallowMultipleLineStrings": true,
  7. "disallowMultipleVarDecl": true,
  8. "disallowQuotedKeysInObjects": "allButReserved",
  9. "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
  10. "disallowSpaceBeforeBinaryOperators": [","],
  11. "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
  12. "disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
  13. "disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
  14. "disallowSpacesInsideArrayBrackets": true,
  15. "disallowSpacesInsideParentheses": true,
  16. "disallowTrailingComma": true,
  17. "disallowTrailingWhitespace": true,
  18. "requireCamelCaseOrUpperCaseIdentifiers": true,
  19. "requireCapitalizedConstructors": true,
  20. "requireCommaBeforeLineBreak": true,
  21. "requireDollarBeforejQueryAssignment": true,
  22. "requireDotNotation": true,
  23. "requireLineFeedAtFileEnd": true,
  24. "requirePaddingNewLinesAfterUseStrict": true,
  25. "requirePaddingNewLinesBeforeExport": true,
  26. "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
  27. "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
  28. "requireSpaceAfterLineComment": true,
  29. "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
  30. "requireSpaceBetweenArguments": true,
  31. "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true },
  32. "requireSpacesInConditionalExpression": true,
  33. "requireSpacesInForStatement": true,
  34. "requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
  35. "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
  36. "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
  37. "requireSpacesInsideObjectBrackets": "allButNested",
  38. "validateAlignedFunctionParameters": true,
  39. "validateIndentation": 2,
  40. "validateLineBreaks": "LF",
  41. "validateNewlineAfterArrayElements": true,
  42. "validateQuoteMarks": "'"
  43. }