Sprankelprachtig aan/afmeldsysteem

.rubocop.yml 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628
  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. # Offense count: 6
  12. # Cop supports --auto-correct.
  13. # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
  14. # SupportedHashRocketStyles: key, separator, table
  15. # SupportedColonStyles: key, separator, table
  16. # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
  17. Layout/AlignHash:
  18. Exclude:
  19. - 'app/models/token.rb'
  20. - 'app/views/api/activities/show.rabl'
  21. - 'db/seeds.rb'
  22. # Offense count: 10
  23. # Cop supports --auto-correct.
  24. # Configuration parameters: EnforcedStyle, IndentationWidth.
  25. # SupportedStyles: with_first_parameter, with_fixed_indentation
  26. Layout/AlignParameters:
  27. Exclude:
  28. - 'app/models/activity.rb'
  29. - 'app/models/group.rb'
  30. - 'app/models/member.rb'
  31. - 'app/models/participant.rb'
  32. - 'app/models/person.rb'
  33. # Offense count: 20
  34. # Cop supports --auto-correct.
  35. # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
  36. Layout/ExtraSpacing:
  37. Exclude:
  38. - 'app/controllers/activities_controller.rb'
  39. - 'db/schema.rb'
  40. - 'test/controllers/activities_controller_test.rb'
  41. - 'test/controllers/api/activities_controller_test.rb'
  42. - 'test/controllers/api/groups_controller_test.rb'
  43. - 'test/controllers/api/people_controller_test.rb'
  44. - 'test/controllers/groups_controller_test.rb'
  45. - 'test/controllers/members_controller_test.rb'
  46. - 'test/controllers/people_controller_test.rb'
  47. # Offense count: 2
  48. # Cop supports --auto-correct.
  49. # Configuration parameters: EnforcedStyle, IndentationWidth.
  50. # SupportedStyles: special_inside_parentheses, consistent, align_braces
  51. Layout/IndentHash:
  52. Exclude:
  53. - 'config/environments/development.rb'
  54. - 'config/environments/production.rb'
  55. # Offense count: 18
  56. # Cop supports --auto-correct.
  57. # Configuration parameters: Width, IgnoredPatterns.
  58. Layout/IndentationWidth:
  59. Exclude:
  60. - 'app/controllers/activities_controller.rb'
  61. - 'app/controllers/api/people_controller.rb'
  62. - 'app/controllers/groups_controller.rb'
  63. - 'app/controllers/members_controller.rb'
  64. - 'app/controllers/people_controller.rb'
  65. - 'app/models/activity.rb'
  66. # Offense count: 1
  67. # Cop supports --auto-correct.
  68. Layout/LeadingCommentSpace:
  69. Exclude:
  70. - 'config/initializers/assets.rb'
  71. # Offense count: 1
  72. # Cop supports --auto-correct.
  73. Layout/MultilineBlockLayout:
  74. Exclude:
  75. - 'app/models/activity.rb'
  76. # Offense count: 75
  77. # Cop supports --auto-correct.
  78. # Configuration parameters: EnforcedStyle, IndentationWidth.
  79. # SupportedStyles: aligned, indented, indented_relative_to_receiver
  80. Layout/MultilineMethodCallIndentation:
  81. Exclude:
  82. - 'app/controllers/activities_controller.rb'
  83. - 'app/controllers/dashboard_controller.rb'
  84. - 'app/controllers/groups_controller.rb'
  85. - 'app/controllers/members_controller.rb'
  86. - 'app/mailers/participant_mailer.rb'
  87. - 'app/models/activity.rb'
  88. - 'app/models/person.rb'
  89. # Offense count: 7
  90. # Cop supports --auto-correct.
  91. # Configuration parameters: EnforcedStyle, IndentationWidth.
  92. # SupportedStyles: aligned, indented
  93. Layout/MultilineOperationIndentation:
  94. Exclude:
  95. - 'app/helpers/authentication_helper.rb'
  96. - 'app/models/activity.rb'
  97. - 'app/models/participant.rb'
  98. # Offense count: 2
  99. # Cop supports --auto-correct.
  100. # Configuration parameters: EnforcedStyle.
  101. # SupportedStyles: space, no_space
  102. Layout/SpaceAroundEqualsInParameterDefault:
  103. Exclude:
  104. - 'app/helpers/authentication_helper.rb'
  105. - 'app/models/activity.rb'
  106. # Offense count: 1
  107. # Cop supports --auto-correct.
  108. # Configuration parameters: AllowForAlignment.
  109. Layout/SpaceAroundOperators:
  110. Exclude:
  111. - 'app/controllers/activities_controller.rb'
  112. # Offense count: 7
  113. # Cop supports --auto-correct.
  114. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
  115. # SupportedStyles: space, no_space
  116. # SupportedStylesForEmptyBraces: space, no_space
  117. Layout/SpaceBeforeBlockBraces:
  118. Exclude:
  119. - 'app/controllers/activities_controller.rb'
  120. - 'app/controllers/api/activities_controller.rb'
  121. - 'app/controllers/groups_controller.rb'
  122. # Offense count: 4
  123. # Cop supports --auto-correct.
  124. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
  125. # SupportedStyles: space, no_space, compact
  126. # SupportedStylesForEmptyBrackets: space, no_space
  127. Layout/SpaceInsideArrayLiteralBrackets:
  128. Exclude:
  129. - 'app/controllers/members_controller.rb'
  130. - 'config/environments/production.rb'
  131. # Offense count: 9
  132. # Cop supports --auto-correct.
  133. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
  134. # SupportedStyles: space, no_space
  135. # SupportedStylesForEmptyBraces: space, no_space
  136. Layout/SpaceInsideBlockBraces:
  137. Exclude:
  138. - 'app/controllers/activities_controller.rb'
  139. - 'app/controllers/api/activities_controller.rb'
  140. - 'app/controllers/groups_controller.rb'
  141. - 'config/puma.rb'
  142. # Offense count: 20
  143. # Cop supports --auto-correct.
  144. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
  145. # SupportedStyles: space, no_space, compact
  146. # SupportedStylesForEmptyBraces: space, no_space
  147. Layout/SpaceInsideHashLiteralBraces:
  148. Exclude:
  149. - 'app/models/activity.rb'
  150. - 'app/models/person.rb'
  151. - 'config/environments/production.rb'
  152. - 'test/controllers/activities_controller_test.rb'
  153. - 'test/controllers/api/activities_controller_test.rb'
  154. - 'test/controllers/api/groups_controller_test.rb'
  155. - 'test/controllers/api/people_controller_test.rb'
  156. - 'test/controllers/groups_controller_test.rb'
  157. - 'test/controllers/members_controller_test.rb'
  158. - 'test/controllers/people_controller_test.rb'
  159. # Offense count: 4
  160. # Cop supports --auto-correct.
  161. # Configuration parameters: EnforcedStyle.
  162. # SupportedStyles: space, no_space
  163. Layout/SpaceInsideParens:
  164. Exclude:
  165. - 'app/controllers/activities_controller.rb'
  166. # Offense count: 1
  167. # Cop supports --auto-correct.
  168. # Configuration parameters: IndentationWidth.
  169. Layout/Tab:
  170. Exclude:
  171. - 'config/puma.rb'
  172. # Offense count: 14
  173. # Cop supports --auto-correct.
  174. # Configuration parameters: EnforcedStyle.
  175. # SupportedStyles: final_newline, final_blank_line
  176. Layout/TrailingBlankLines:
  177. Exclude:
  178. - 'app/views/activities/_activity.json.jbuilder'
  179. - 'app/views/activities/index.json.jbuilder'
  180. - 'app/views/activities/show.json.jbuilder'
  181. - 'app/views/api/activities/index.rabl'
  182. - 'app/views/groups/_group.json.jbuilder'
  183. - 'app/views/groups/index.json.jbuilder'
  184. - 'app/views/groups/show.json.jbuilder'
  185. - 'app/views/members/_member.json.jbuilder'
  186. - 'app/views/members/index.json.jbuilder'
  187. - 'app/views/members/show.json.jbuilder'
  188. - 'app/views/people/_person.json.jbuilder'
  189. - 'app/views/people/index.json.jbuilder'
  190. - 'app/views/people/show.json.jbuilder'
  191. - 'db/migrate/20181104220610_generate_group_api_tokens.rb'
  192. # Offense count: 1
  193. # Configuration parameters: AllowSafeAssignment.
  194. Lint/AssignmentInCondition:
  195. Exclude:
  196. - 'bin/spring'
  197. # Offense count: 1
  198. # Configuration parameters: Whitelist.
  199. # Whitelist: present?, blank?, presence, try, try!
  200. Lint/SafeNavigationChain:
  201. Exclude:
  202. - 'app/controllers/api_controller.rb'
  203. # Offense count: 4
  204. Lint/ShadowingOuterLocalVariable:
  205. Exclude:
  206. - 'db/seeds.rb'
  207. # Offense count: 2
  208. # Cop supports --auto-correct.
  209. # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
  210. Lint/UnusedBlockArgument:
  211. Exclude:
  212. - 'db/seeds.rb'
  213. # Offense count: 1
  214. # Cop supports --auto-correct.
  215. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
  216. Lint/UnusedMethodArgument:
  217. Exclude:
  218. - 'app/helpers/application_helper.rb'
  219. # Offense count: 8
  220. Lint/UselessAssignment:
  221. Exclude:
  222. - 'app/helpers/authentication_helper.rb'
  223. - 'db/seeds.rb'
  224. # Offense count: 30
  225. Metrics/AbcSize:
  226. Max: 71
  227. # Offense count: 6
  228. # Configuration parameters: CountComments, ExcludedMethods.
  229. # ExcludedMethods: refine
  230. Metrics/BlockLength:
  231. Max: 119
  232. # Offense count: 6
  233. # Configuration parameters: CountComments.
  234. Metrics/ClassLength:
  235. Max: 254
  236. # Offense count: 5
  237. Metrics/CyclomaticComplexity:
  238. Max: 12
  239. # Offense count: 35
  240. # Configuration parameters: CountComments, ExcludedMethods.
  241. Metrics/MethodLength:
  242. Max: 50
  243. # Offense count: 1
  244. # Configuration parameters: CountComments.
  245. Metrics/ModuleLength:
  246. Max: 105
  247. # Offense count: 3
  248. Metrics/PerceivedComplexity:
  249. Max: 13
  250. # Offense count: 1
  251. Naming/AccessorMethodName:
  252. Exclude:
  253. - 'app/helpers/authentication_helper.rb'
  254. # Offense count: 5
  255. # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
  256. # NamePrefix: is_, has_, have_
  257. # NamePrefixBlacklist: is_, has_, have_
  258. # NameWhitelist: is_a?
  259. # MethodDefinitionMacros: define_method, define_singleton_method
  260. Naming/PredicateName:
  261. Exclude:
  262. - 'spec/**/*'
  263. - 'app/helpers/authentication_helper.rb'
  264. - 'app/models/activity.rb'
  265. - 'app/models/group.rb'
  266. # Offense count: 2
  267. # Cop supports --auto-correct.
  268. Performance/Casecmp:
  269. Exclude:
  270. - 'app/models/activity.rb'
  271. # Offense count: 7
  272. # Cop supports --auto-correct.
  273. # Configuration parameters: EnforcedStyle.
  274. # SupportedStyles: always, conditionals
  275. Style/AndOr:
  276. Exclude:
  277. - 'app/controllers/authentication_controller.rb'
  278. - 'app/models/activity.rb'
  279. - 'app/models/user.rb'
  280. # Offense count: 9
  281. # Cop supports --auto-correct.
  282. # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods.
  283. # SupportedStyles: line_count_based, semantic, braces_for_chaining
  284. # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
  285. # FunctionalMethods: let, let!, subject, watch
  286. # IgnoredMethods: lambda, proc, it
  287. Style/BlockDelimiters:
  288. Exclude:
  289. - 'app/controllers/activities_controller.rb'
  290. - 'app/controllers/groups_controller.rb'
  291. - 'app/controllers/members_controller.rb'
  292. # Offense count: 3
  293. # Cop supports --auto-correct.
  294. # Configuration parameters: EnforcedStyle.
  295. # SupportedStyles: braces, no_braces, context_dependent
  296. Style/BracesAroundHashParameters:
  297. Exclude:
  298. - 'app/models/activity.rb'
  299. - 'app/models/person.rb'
  300. - 'config/environments/production.rb'
  301. # Offense count: 13
  302. # Cop supports --auto-correct.
  303. # Configuration parameters: AutoCorrect, EnforcedStyle.
  304. # SupportedStyles: nested, compact
  305. Style/ClassAndModuleChildren:
  306. Exclude:
  307. - 'app/controllers/api/activities_controller.rb'
  308. - 'app/controllers/api/groups_controller.rb'
  309. - 'app/controllers/api/me_controller.rb'
  310. - 'app/controllers/api/people_controller.rb'
  311. - 'app/helpers/api/activities_helper.rb'
  312. - 'app/helpers/api/groups_helper.rb'
  313. - 'app/helpers/api/me_helper.rb'
  314. - 'app/helpers/api/people_helper.rb'
  315. - 'test/controllers/api/activities_controller_test.rb'
  316. - 'test/controllers/api/groups_controller_test.rb'
  317. - 'test/controllers/api/me_controller_test.rb'
  318. - 'test/controllers/api/people_controller_test.rb'
  319. - 'test/test_helper.rb'
  320. # Offense count: 2
  321. # Cop supports --auto-correct.
  322. Style/ClassMethods:
  323. Exclude:
  324. - 'app/models/session.rb'
  325. # Offense count: 4
  326. # Cop supports --auto-correct.
  327. Style/ColonMethodCall:
  328. Exclude:
  329. - 'app/controllers/authentication_controller.rb'
  330. - 'app/models/token.rb'
  331. # Offense count: 9
  332. # Cop supports --auto-correct.
  333. # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
  334. # SupportedStyles: assign_to_condition, assign_inside_condition
  335. Style/ConditionalAssignment:
  336. Exclude:
  337. - 'app/controllers/activities_controller.rb'
  338. - 'app/controllers/api/activities_controller.rb'
  339. - 'app/controllers/groups_controller.rb'
  340. - 'app/mailers/participant_mailer.rb'
  341. - 'db/seeds.rb'
  342. # Offense count: 8
  343. # Configuration parameters: AllowCoercion.
  344. Style/DateTime:
  345. Exclude:
  346. - 'app/controllers/api/groups_controller.rb'
  347. - 'app/controllers/authentication_controller.rb'
  348. - 'app/controllers/dashboard_controller.rb'
  349. - 'app/helpers/authentication_helper.rb'
  350. - 'app/models/group.rb'
  351. - 'db/seeds.rb'
  352. # Offense count: 55
  353. Style/Documentation:
  354. Enabled: false
  355. # Offense count: 7
  356. # Cop supports --auto-correct.
  357. # Configuration parameters: EnforcedStyle.
  358. # SupportedStyles: compact, expanded
  359. Style/EmptyMethod:
  360. Exclude:
  361. - 'app/controllers/activities_controller.rb'
  362. - 'app/controllers/api/people_controller.rb'
  363. - 'app/controllers/groups_controller.rb'
  364. - 'app/controllers/members_controller.rb'
  365. - 'app/controllers/people_controller.rb'
  366. - 'db/migrate/20180904163645_generate_calendar_tokens.rb'
  367. # Offense count: 6
  368. # Cop supports --auto-correct.
  369. Style/ExpandPathArguments:
  370. Exclude:
  371. - 'bin/bundle'
  372. - 'bin/rails'
  373. - 'bin/rake'
  374. - 'bin/setup'
  375. - 'bin/update'
  376. - 'test/test_helper.rb'
  377. # Offense count: 140
  378. # Cop supports --auto-correct.
  379. # Configuration parameters: EnforcedStyle.
  380. # SupportedStyles: when_needed, always, never
  381. Style/FrozenStringLiteralComment:
  382. Enabled: false
  383. # Offense count: 14
  384. # Configuration parameters: MinBodyLength.
  385. Style/GuardClause:
  386. Exclude:
  387. - 'app/controllers/people_controller.rb'
  388. - 'app/helpers/activities_helper.rb'
  389. - 'app/helpers/authentication_helper.rb'
  390. - 'app/helpers/groups_helper.rb'
  391. - 'app/models/activity.rb'
  392. - 'app/models/person.rb'
  393. - 'app/models/user.rb'
  394. # Offense count: 1
  395. # Cop supports --auto-correct.
  396. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
  397. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
  398. Style/HashSyntax:
  399. Exclude:
  400. - 'lib/tasks/sessions.rake'
  401. # Offense count: 20
  402. # Cop supports --auto-correct.
  403. Style/IfUnlessModifier:
  404. Exclude:
  405. - 'app/controllers/activities_controller.rb'
  406. - 'app/controllers/authentication_controller.rb'
  407. - 'app/controllers/people_controller.rb'
  408. - 'app/helpers/authentication_helper.rb'
  409. - 'app/models/activity.rb'
  410. - 'app/models/person.rb'
  411. - 'app/models/user.rb'
  412. - 'config/puma.rb'
  413. # Offense count: 1
  414. # Cop supports --auto-correct.
  415. # Configuration parameters: EnforcedStyle.
  416. # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
  417. Style/MethodDefParentheses:
  418. Exclude:
  419. - 'app/helpers/dashboard_helper.rb'
  420. # Offense count: 2
  421. Style/MixinUsage:
  422. Exclude:
  423. - 'bin/setup'
  424. - 'bin/update'
  425. # Offense count: 1
  426. Style/MultilineTernaryOperator:
  427. Exclude:
  428. - 'app/models/session.rb'
  429. # Offense count: 3
  430. # Cop supports --auto-correct.
  431. Style/MutableConstant:
  432. Exclude:
  433. - 'app/models/participant.rb'
  434. - 'app/models/token.rb'
  435. # Offense count: 18
  436. # Cop supports --auto-correct.
  437. # Configuration parameters: EnforcedStyle.
  438. # SupportedStyles: both, prefix, postfix
  439. Style/NegatedIf:
  440. Exclude:
  441. - 'app/controllers/activities_controller.rb'
  442. - 'app/controllers/authentication_controller.rb'
  443. - 'app/controllers/dashboard_controller.rb'
  444. - 'app/controllers/members_controller.rb'
  445. - 'app/helpers/activities_helper.rb'
  446. - 'app/helpers/authentication_helper.rb'
  447. - 'app/helpers/groups_helper.rb'
  448. - 'app/models/activity.rb'
  449. - 'app/models/member.rb'
  450. - 'app/models/person.rb'
  451. # Offense count: 1
  452. # Cop supports --auto-correct.
  453. # Configuration parameters: EnforcedStyle, MinBodyLength.
  454. # SupportedStyles: skip_modifier_ifs, always
  455. Style/Next:
  456. Exclude:
  457. - 'db/seeds.rb'
  458. # Offense count: 12
  459. # Cop supports --auto-correct.
  460. Style/Not:
  461. Exclude:
  462. - 'app/controllers/authentication_controller.rb'
  463. - 'app/controllers/members_controller.rb'
  464. - 'app/helpers/authentication_helper.rb'
  465. - 'app/models/activity.rb'
  466. - 'app/models/member.rb'
  467. - 'app/models/person.rb'
  468. # Offense count: 1
  469. # Cop supports --auto-correct.
  470. # Configuration parameters: Strict.
  471. Style/NumericLiterals:
  472. MinDigits: 15
  473. # Offense count: 1
  474. # Cop supports --auto-correct.
  475. # Configuration parameters: PreferredDelimiters.
  476. Style/PercentLiteralDelimiters:
  477. Exclude:
  478. - 'config/spring.rb'
  479. # Offense count: 2
  480. # Cop supports --auto-correct.
  481. Style/Proc:
  482. Exclude:
  483. - 'app/models/activity.rb'
  484. # Offense count: 5
  485. # Cop supports --auto-correct.
  486. Style/RedundantParentheses:
  487. Exclude:
  488. - 'db/seeds.rb'
  489. # Offense count: 5
  490. # Cop supports --auto-correct.
  491. # Configuration parameters: AllowMultipleReturnValues.
  492. Style/RedundantReturn:
  493. Exclude:
  494. - 'app/helpers/authentication_helper.rb'
  495. - 'app/models/activity.rb'
  496. - 'app/models/person.rb'
  497. # Offense count: 85
  498. # Cop supports --auto-correct.
  499. Style/RedundantSelf:
  500. Exclude:
  501. - 'app/models/activity.rb'
  502. - 'app/models/group.rb'
  503. - 'app/models/member.rb'
  504. - 'app/models/participant.rb'
  505. - 'app/models/person.rb'
  506. - 'app/models/subgroup.rb'
  507. - 'app/models/token.rb'
  508. - 'app/models/user.rb'
  509. # Offense count: 3
  510. # Cop supports --auto-correct.
  511. # Configuration parameters: ConvertCodeThatCanStartToReturnNil, Whitelist.
  512. # Whitelist: present?, blank?, presence, try, try!
  513. Style/SafeNavigation:
  514. Exclude:
  515. - 'app/controllers/authentication_controller.rb'
  516. - 'app/models/person.rb'
  517. # Offense count: 215
  518. # Cop supports --auto-correct.
  519. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
  520. # SupportedStyles: single_quotes, double_quotes
  521. Style/StringLiterals:
  522. Enabled: false
  523. # Offense count: 18
  524. # Cop supports --auto-correct.
  525. # Configuration parameters: MinSize.
  526. # SupportedStyles: percent, brackets
  527. Style/SymbolArray:
  528. EnforcedStyle: brackets
  529. # Offense count: 5
  530. # Cop supports --auto-correct.
  531. # Configuration parameters: IgnoredMethods.
  532. # IgnoredMethods: respond_to, define_method
  533. Style/SymbolProc:
  534. Exclude:
  535. - 'app/controllers/activities_controller.rb'
  536. - 'app/models/activity.rb'
  537. - 'app/models/member.rb'
  538. - 'db/migrate/20180904163645_generate_calendar_tokens.rb'
  539. # Offense count: 1
  540. # Cop supports --auto-correct.
  541. # Configuration parameters: EnforcedStyleForMultiline.
  542. # SupportedStylesForMultiline: comma, consistent_comma, no_comma
  543. Style/TrailingCommaInArguments:
  544. Exclude:
  545. - 'app/models/activity.rb'
  546. # Offense count: 3
  547. # Cop supports --auto-correct.
  548. # Configuration parameters: WordRegex.
  549. # SupportedStyles: percent, brackets
  550. Style/WordArray:
  551. EnforcedStyle: percent
  552. MinSize: 3
  553. # Offense count: 142
  554. # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
  555. # URISchemes: http, https
  556. Metrics/LineLength:
  557. Max: 200