-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
.rubocop_todo.yml
48 lines (44 loc) · 1.58 KB
/
.rubocop_todo.yml
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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-02-26 04:50:28 UTC using RuboCop version 1.60.2.
# 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: 14
# Configuration parameters: Include.
# Include: app/helpers/**/*.rb
Rails/HelperInstanceVariable:
Exclude:
- 'app/helpers/articles_helper.rb'
- 'app/helpers/meta_helper.rb'
- 'app/helpers/tags_helper.rb'
# Offense count: 8
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'
# Offense count: 8
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/UniqueValidationWithoutIndex:
Exclude:
- 'app/models/category.rb'
- 'app/models/locale.rb'
- 'app/models/podcast.rb'
- 'app/models/redirect.rb'
- 'app/models/support_session.rb'
- 'app/models/user.rb'