-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
54 lines (53 loc) · 1.44 KB
/
.rubocop.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
49
50
51
52
53
54
# Rubocop is wrong about these styles.
Style/EmptyMethod:
Enabled: False
Style/RaiseArgs:
EnforcedStyle: compact
Style/MultilineIfModifier:
Enabled: False
Documentation:
Enabled: False
Style/FrozenStringLiteralComment:
Enabled: False
Style/RedundantSelf:
Exclude:
- app/models/concerns/taggable.rb
Style/RedundantInterpolation:
Enabled: False
# Rubocop is maybe right here but I need to exclude
# These particular files
Metrics/LineLength:
Exclude:
- db/**/*.rb
- spec/**/*.rb
- config/**/*.rb
- app/controllers/rehearsals_controller.rb
- app/models/tag.rb
Metrics/MethodLength:
Exclude:
- db/**/*.rb
- app/models/ability.rb
- app/controllers/rehearsals_controller.rb
Metrics/BlockLength:
Exclude:
- spec/**/*.rb
- db/**/*.rb
- config/**/*.rb
Metrics/AbcSize:
Exclude:
- app/models/ability.rb
AllCops:
Exclude:
# I didn't write Devise. I'm not going to fix it
# for Rubocop.
- app/controllers/my_devise/*.rb
# The CircleCI build when creating the Schema has
# all kinds of troubles because the Rails migrations
# don't apparently generate exactly according to
# Rubocop's rules.
- db/schema.rb
# The Rails team's Active Storage auto-migrations that
# cause a large number of Rubocop errors. I'm not
# going to mess with or second-guess their changes.
- db/migrate/*active_storage.rb
- db/migrate/20141009070947_devise_create_admin_users.rb