Sprankelprachtig aan/afmeldsysteem

.rubocop.yml 3.0KB

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