Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.jscs.json 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. {
  2. "es3": true,
  3. "additionalRules": [],
  4. "requireSemicolons": true,
  5. "disallowMultipleSpaces": true,
  6. "disallowIdentifierNames": [],
  7. "requireCurlyBraces": {
  8. "allExcept": [],
  9. "keywords": ["if", "else", "for", "while", "do", "try", "catch"]
  10. },
  11. "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"],
  12. "disallowSpaceAfterKeywords": [],
  13. "disallowSpaceBeforeComma": true,
  14. "disallowSpaceAfterComma": false,
  15. "disallowSpaceBeforeSemicolon": true,
  16. "disallowNodeTypes": [
  17. "DebuggerStatement",
  18. "LabeledStatement",
  19. "SwitchCase",
  20. "SwitchStatement",
  21. "WithStatement"
  22. ],
  23. "requireObjectKeysOnNewLine": { "allExcept": ["sameLine"] },
  24. "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
  25. "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
  26. "disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
  27. "requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
  28. "disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
  29. "requireSpaceBetweenArguments": true,
  30. "disallowSpacesInsideParentheses": true,
  31. "disallowSpacesInsideArrayBrackets": true,
  32. "disallowQuotedKeysInObjects": { "allExcept": ["reserved"] },
  33. "disallowSpaceAfterObjectKeys": true,
  34. "requireCommaBeforeLineBreak": true,
  35. "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
  36. "requireSpaceAfterPrefixUnaryOperators": [],
  37. "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
  38. "requireSpaceBeforePostfixUnaryOperators": [],
  39. "disallowSpaceBeforeBinaryOperators": [],
  40. "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
  41. "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
  42. "disallowSpaceAfterBinaryOperators": [],
  43. "disallowImplicitTypeConversion": ["binary", "string"],
  44. "disallowKeywords": ["with", "eval"],
  45. "requireKeywordsOnNewLine": [],
  46. "disallowKeywordsOnNewLine": ["else"],
  47. "requireLineFeedAtFileEnd": true,
  48. "disallowTrailingWhitespace": true,
  49. "disallowTrailingComma": true,
  50. "excludeFiles": ["node_modules/**", "vendor/**"],
  51. "disallowMultipleLineStrings": true,
  52. "requireDotNotation": { "allExcept": ["keywords"] },
  53. "requireParenthesesAroundIIFE": true,
  54. "validateLineBreaks": "LF",
  55. "validateQuoteMarks": {
  56. "escape": true,
  57. "mark": "'"
  58. },
  59. "disallowOperatorBeforeLineBreak": [],
  60. "requireSpaceBeforeKeywords": [
  61. "do",
  62. "for",
  63. "if",
  64. "else",
  65. "switch",
  66. "case",
  67. "try",
  68. "catch",
  69. "finally",
  70. "while",
  71. "with",
  72. "return"
  73. ],
  74. "validateAlignedFunctionParameters": {
  75. "lineBreakAfterOpeningBraces": true,
  76. "lineBreakBeforeClosingBraces": true
  77. },
  78. "requirePaddingNewLinesBeforeExport": true,
  79. "validateNewlineAfterArrayElements": {
  80. "maximum": 6
  81. },
  82. "requirePaddingNewLinesAfterUseStrict": true,
  83. "disallowArrowFunctions": true,
  84. "disallowMultiLineTernary": true,
  85. "validateOrderInObjectKeys": false,
  86. "disallowIdenticalDestructuringNames": true,
  87. "disallowNestedTernaries": { "maxLevel": 1 },
  88. "requireSpaceAfterComma": { "allExcept": ["trailing"] },
  89. "requireAlignedMultilineParams": false,
  90. "requireSpacesInGenerator": {
  91. "afterStar": true
  92. },
  93. "disallowSpacesInGenerator": {
  94. "beforeStar": true
  95. },
  96. "disallowVar": false,
  97. "requireArrayDestructuring": false,
  98. "requireEnhancedObjectLiterals": false,
  99. "requireObjectDestructuring": false,
  100. "requireEarlyReturn": false,
  101. "requireCapitalizedConstructorsNew": {
  102. "allExcept": ["Function", "String", "Object", "Symbol", "Number", "Date", "RegExp", "Error", "Boolean", "Array"]
  103. },
  104. "requireImportAlphabetized": false,
  105. "requireSpaceBeforeObjectValues": true,
  106. "requireSpaceBeforeDestructuredValues": true,
  107. "disallowSpacesInsideTemplateStringPlaceholders": true,
  108. "disallowArrayDestructuringReturn": false,
  109. "requireNewlineBeforeSingleStatementsInIf": false,
  110. "disallowUnusedVariables": true,
  111. "requireSpacesInsideImportedObjectBraces": true,
  112. "requireUseStrict": true
  113. }