-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy path.rubocop_todo.yml
More file actions
50 lines (45 loc) · 1.68 KB
/
.rubocop_todo.yml
File metadata and controls
50 lines (45 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2026-01-29 00:49:21 UTC using RuboCop version 1.84.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 6
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
Naming/MemoizedInstanceVariableName:
Exclude:
- "app/models/article_archive_paginator.rb"
# Offense count: 3
# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates.
# AllowedMethods: call
# WaywardPredicates: nonzero?
Naming/PredicateMethod:
Exclude:
- "app/controllers/application_controller.rb"
- "app/models/issue.rb"
- "app/models/journal.rb"
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/FindByOrAssignmentMemoization:
Exclude:
- "app/helpers/tags_helper.rb"
# Offense count: 14
Rails/HelperInstanceVariable:
Exclude:
- "app/helpers/articles_helper.rb"
- "app/helpers/meta_helper.rb"
- "app/helpers/tags_helper.rb"
# Offense count: 11
Rails/OutputSafety:
Exclude:
- "app/controllers/articles_controller.rb"
- "app/controllers/pages_controller.rb"
- "app/helpers/admin_helper.rb"
- "app/helpers/articles_helper.rb"
- "app/helpers/embeds_helper.rb"
- "app/helpers/markdown_helper.rb"
- "app/helpers/videos_helper.rb"
- "app/models/article.rb"