Няма описание

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