Sprankelprachtig aan/afmeldsysteem

.rubocop.yml 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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: 55
  51. Style/Documentation:
  52. Enabled: false
  53. # Offense count: 140
  54. # Cop supports --auto-correct.
  55. # Configuration parameters: EnforcedStyle.
  56. # SupportedStyles: when_needed, always, never
  57. Style/FrozenStringLiteralComment:
  58. Enabled: false
  59. # Offense count: 1
  60. # Cop supports --auto-correct.
  61. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
  62. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
  63. Style/HashSyntax:
  64. Exclude:
  65. - 'lib/tasks/sessions.rake'
  66. # Offense count: 1
  67. Style/MultilineTernaryOperator:
  68. Exclude:
  69. - 'app/models/session.rb'
  70. # Offense count: 1
  71. # Cop supports --auto-correct.
  72. # Configuration parameters: Strict.
  73. Style/NumericLiterals:
  74. MinDigits: 15
  75. # Offense count: 1
  76. # Cop supports --auto-correct.
  77. # Configuration parameters: PreferredDelimiters.
  78. Style/PercentLiteralDelimiters:
  79. Exclude:
  80. - 'config/spring.rb'
  81. # Offense count: 85
  82. # Cop supports --auto-correct.
  83. Style/RedundantSelf:
  84. Exclude:
  85. - 'app/models/activity.rb'
  86. - 'app/models/group.rb'
  87. - 'app/models/member.rb'
  88. - 'app/models/participant.rb'
  89. - 'app/models/person.rb'
  90. - 'app/models/subgroup.rb'
  91. - 'app/models/token.rb'
  92. - 'app/models/user.rb'
  93. # Offense count: 215
  94. # Cop supports --auto-correct.
  95. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
  96. # SupportedStyles: single_quotes, double_quotes
  97. Style/StringLiterals:
  98. Enabled: false
  99. # Offense count: 18
  100. # Cop supports --auto-correct.
  101. # Configuration parameters: MinSize.
  102. # SupportedStyles: percent, brackets
  103. Style/SymbolArray:
  104. EnforcedStyle: brackets
  105. # Offense count: 3
  106. # Cop supports --auto-correct.
  107. # Configuration parameters: WordRegex.
  108. # SupportedStyles: percent, brackets
  109. Style/WordArray:
  110. EnforcedStyle: percent
  111. MinSize: 3
  112. # Offense count: 142
  113. # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
  114. # URISchemes: http, https
  115. Metrics/LineLength:
  116. Max: 200