Sprankelprachtig aan/afmeldsysteem

.rubocop.yml 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. # This configuration was generated by
  2. # `rubocop --auto-gen-config`
  3. # on 2018-12-24 11:44:14 +0100 using RuboCop version 0.60.0.
  4. # The point is for the user to remove these configuration records
  5. # one by one as the offenses are removed from the code base.
  6. # Note that changes in the inspected code, or installation of new
  7. # versions of RuboCop, may require this file to be generated again.
  8. AllCops:
  9. Exclude:
  10. - 'db/schema.rb'
  11. - 'bin/update'
  12. - 'bin/setup'
  13. # Offense count: 30
  14. Metrics/AbcSize:
  15. Max: 71
  16. # Offense count: 6
  17. # Configuration parameters: CountComments, ExcludedMethods.
  18. # ExcludedMethods: refine
  19. Metrics/BlockLength:
  20. Max: 119
  21. # Offense count: 6
  22. # Configuration parameters: CountComments.
  23. Metrics/ClassLength:
  24. Max: 254
  25. # Offense count: 5
  26. Metrics/CyclomaticComplexity:
  27. Max: 12
  28. # Offense count: 35
  29. # Configuration parameters: CountComments, ExcludedMethods.
  30. Metrics/MethodLength:
  31. Max: 50
  32. # Offense count: 1
  33. # Configuration parameters: CountComments.
  34. Metrics/ModuleLength:
  35. Max: 105
  36. # Offense count: 3
  37. Metrics/PerceivedComplexity:
  38. Max: 13
  39. # Offense count: 2
  40. # Cop supports --auto-correct.
  41. Style/ClassMethods:
  42. Exclude:
  43. - 'app/models/session.rb'
  44. # Offense count: 4
  45. # Cop supports --auto-correct.
  46. Style/ColonMethodCall:
  47. Exclude:
  48. - 'app/controllers/authentication_controller.rb'
  49. - 'app/models/token.rb'
  50. # Offense count: 9
  51. # Cop supports --auto-correct.
  52. # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
  53. # SupportedStyles: assign_to_condition, assign_inside_condition
  54. Style/ConditionalAssignment:
  55. Exclude:
  56. - 'app/controllers/activities_controller.rb'
  57. - 'app/controllers/api/activities_controller.rb'
  58. - 'app/controllers/groups_controller.rb'
  59. - 'app/mailers/participant_mailer.rb'
  60. - 'db/seeds.rb'
  61. # Offense count: 55
  62. Style/Documentation:
  63. Enabled: false
  64. # Offense count: 140
  65. # Cop supports --auto-correct.
  66. # Configuration parameters: EnforcedStyle.
  67. # SupportedStyles: when_needed, always, never
  68. Style/FrozenStringLiteralComment:
  69. Enabled: false
  70. # Offense count: 1
  71. # Cop supports --auto-correct.
  72. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
  73. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
  74. Style/HashSyntax:
  75. Exclude:
  76. - 'lib/tasks/sessions.rake'
  77. # Offense count: 1
  78. Style/MultilineTernaryOperator:
  79. Exclude:
  80. - 'app/models/session.rb'
  81. # Offense count: 1
  82. # Cop supports --auto-correct.
  83. # Configuration parameters: Strict.
  84. Style/NumericLiterals:
  85. MinDigits: 15
  86. # Offense count: 1
  87. # Cop supports --auto-correct.
  88. # Configuration parameters: PreferredDelimiters.
  89. Style/PercentLiteralDelimiters:
  90. Exclude:
  91. - 'config/spring.rb'
  92. # Offense count: 85
  93. # Cop supports --auto-correct.
  94. Style/RedundantSelf:
  95. Exclude:
  96. - 'app/models/activity.rb'
  97. - 'app/models/group.rb'
  98. - 'app/models/member.rb'
  99. - 'app/models/participant.rb'
  100. - 'app/models/person.rb'
  101. - 'app/models/subgroup.rb'
  102. - 'app/models/token.rb'
  103. - 'app/models/user.rb'
  104. # Offense count: 215
  105. # Cop supports --auto-correct.
  106. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
  107. # SupportedStyles: single_quotes, double_quotes
  108. Style/StringLiterals:
  109. Enabled: false
  110. # Offense count: 18
  111. # Cop supports --auto-correct.
  112. # Configuration parameters: MinSize.
  113. # SupportedStyles: percent, brackets
  114. Style/SymbolArray:
  115. EnforcedStyle: brackets
  116. # Offense count: 3
  117. # Cop supports --auto-correct.
  118. # Configuration parameters: WordRegex.
  119. # SupportedStyles: percent, brackets
  120. Style/WordArray:
  121. EnforcedStyle: percent
  122. MinSize: 3
  123. # Offense count: 142
  124. # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
  125. # URISchemes: http, https
  126. Metrics/LineLength:
  127. Max: 200