Advertisement
Guest User

Untitled

a guest
May 6th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.47 KB | None | 0 0
  1. {
  2. "excludeFiles": [
  3. ".tmp/**",
  4. ".dist/**",
  5. ".docs/**",
  6. "node_modules/**",
  7. "vendor/**"
  8. ],
  9. "disallowEmptyBlocks": true,
  10. "disallowKeywordsOnNewLine": ["else"],
  11. "disallowKeywords": ["with"],
  12. "disallowMixedSpacesAndTabs": true,
  13. "disallowMultipleLineBreaks": true,
  14. "disallowMultipleLineStrings": true,
  15. "disallowNewlineBeforeBlockStatements": true,
  16. "disallowOperatorBeforeLineBreak": ["."],
  17. "disallowSpaceAfterObjectKeys": true,
  18. "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
  19. "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
  20. "disallowSpacesInAnonymousFunctionExpression": {
  21. "beforeOpeningRoundBrace": true
  22. },
  23. "disallowSpacesInCallExpression": true,
  24. "disallowSpacesInFunctionDeclaration": {
  25. "beforeOpeningRoundBrace": true
  26. },
  27. "disallowSpacesInFunctionExpression": {
  28. "beforeOpeningRoundBrace": true
  29. },
  30. "disallowSpacesInNamedFunctionExpression": {
  31. "beforeOpeningRoundBrace": true
  32. },
  33. "disallowSpacesInsideArrayBrackets": "all",
  34. "disallowSpacesInsideBrackets": true,
  35. "disallowSpacesInsideObjectBrackets": "all",
  36. "disallowSpacesInsideParentheses": true,
  37. "disallowTrailingComma": true,
  38. "disallowTrailingWhitespace": true,
  39. "maximumLineLength": {
  40. "value": 120,
  41. "tabSize": 4,
  42. "allowComments": true,
  43. "allowUrlComments": true,
  44. "allowRegex": true
  45. },
  46. "requireBlocksOnNewline": true,
  47. "requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
  48. "requireCapitalizedConstructors": true,
  49. "requireCommaBeforeLineBreak": true,
  50. "requireCurlyBraces": [
  51. "if",
  52. "else",
  53. "for",
  54. "while",
  55. "do",
  56. "try",
  57. "catch"
  58. ],
  59. "requireDotNotation": "except_snake_case",
  60. "requireLineBreakAfterVariableAssignment": true,
  61. "requireLineFeedAtFileEnd": true,
  62. "requireOperatorBeforeLineBreak": true,
  63. "requirePaddingNewlinesBeforeKeywords": [
  64. "do",
  65. "for",
  66. "if",
  67. "switch",
  68. "try",
  69. "void",
  70. "while",
  71. "with",
  72. "return",
  73. "typeof",
  74. "function"
  75. ],
  76. "requireParenthesesAroundIIFE": true,
  77. "requireSpaceAfterBinaryOperators": true,
  78. "requireSpaceAfterKeywords": [
  79. "do",
  80. "for",
  81. "if",
  82. "else",
  83. "switch",
  84. "case",
  85. "try",
  86. "catch",
  87. "void",
  88. "while",
  89. "with",
  90. "return",
  91. "typeof"
  92. ],
  93. "requireSpaceBeforeBinaryOperators": true,
  94. "requireSpaceBeforeBlockStatements": true,
  95. "requireSpaceBeforeKeywords": [
  96. "else",
  97. "catch",
  98. "while"
  99. ],
  100. "requireSpaceBeforeObjectValues": true,
  101. "requireSpaceBetweenArguments": true,
  102. "requireSpacesInAnonymousFunctionExpression": {
  103. "beforeOpeningCurlyBrace": true
  104. },
  105. "requireSpacesInConditionalExpression": {
  106. "afterTest": true,
  107. "beforeConsequent": true,
  108. "afterConsequent": true,
  109. "beforeAlternate": true
  110. },
  111. "requireSpacesInForStatement": true,
  112. "requireSpacesInFunctionDeclaration": {
  113. "beforeOpeningCurlyBrace": true
  114. },
  115. "requireSpacesInFunctionExpression": {
  116. "beforeOpeningCurlyBrace": true
  117. },
  118. "requireSpacesInNamedFunctionExpression": {
  119. "beforeOpeningCurlyBrace": true
  120. },
  121. "safeContextKeyword": ["self"],
  122. "validateParameterSeparator": ", ",
  123. "validateQuoteMarks": true
  124. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement