forked from forem/forem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
43 lines (39 loc) · 1.32 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
# https://github.com/openstreetmap/openstreetmap-website/issues/2472
require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-07-29 11:14:03 UTC using RuboCop version 0.88.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
Performance/OpenStruct:
Exclude:
- 'spec/models/github_repo_spec.rb'
- 'spec/requests/github_repos_spec.rb'
# Offense count: 28
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasManyOrHasOneDependent:
Exclude:
- 'app/models/article.rb'
- 'app/models/concerns/user_subscription_sourceable.rb'
- 'app/models/display_ad.rb'
- 'app/models/html_variant.rb'
- 'app/models/listing_category.rb'
- 'app/models/organization.rb'
- 'app/models/podcast.rb'
- 'app/models/podcast_episode.rb'
- 'app/models/poll.rb'
- 'app/models/poll_option.rb'
- 'app/models/user.rb'
# Offense count: 4
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/UniqueValidationWithoutIndex:
Exclude:
- 'app/models/article.rb'