Sprankelprachtig aan/afmeldsysteem

.rubocop.yml 19KB

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