-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
42 lines (33 loc) · 1.11 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
require:
- rubocop-capybara
- rubocop-minitest
- rubocop-performance
- rubocop-rails
- standard
inherit_from:
- https://raw.githubusercontent.com/ualbertalib/library_applications_development_inclusive_language/main/inclusive_language_rubocop.yml
inherit_gem:
standard: config/base.yml
AllCops:
SuggestExtensions: false
TargetRubyVersion: 3.3
NewCops: enable
Minitest/MultipleAssertions:
Max: 10 # default 3
Style/FrozenStringLiteralComment:
Enabled: true
# These below cops are good practice going forward, but due to legacy we exclude some migrations
Rails/CreateTableWithTimestamps:
Exclude:
- db/migrate/20181101154531_create_cms.rb
- db/migrate/20220603215833_create_active_storage_variant_records.active_storage.rb
Rails/SkipsModelValidations:
Exclude:
- db/migrate/20220603215832_add_service_name_to_active_storage_blobs.active_storage.rb
Rails/BulkChangeTable:
Exclude:
- db/migrate/20181101154602_create_friendly_id_slugs.rb
- db/migrate/20181101154832_add_slug_to_profiles.rb
Rails/ThreeStateBooleanColumn:
Exclude:
- db/migrate/20181101154627_create_profiles.rb