-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
58 lines (46 loc) · 1.08 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
55
56
57
58
# List of extensions to load
require:
- rubocop-capybara
- rubocop-factory_bot
- rubocop-rails
- rubocop-rspec
- rubocop-rspec_rails
AllCops:
# TargetRubyVersion: '3.0.1'
NewCops: enable
Exclude:
- 'db/schema.rb'
- 'vendor/**/*'
- 'spec/**/*'
- 'bin/bundle'
Rails/I18nLocaleTexts:
Enabled: false
Style/Documentation:
Enabled: false
Layout/LineLength:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Metrics/ModuleLength:
Exclude:
# - lib/loggable_activity/hooks.rb
Metrics/AbcSize:
Exclude:
- lib/loggable_activity/encryption.rb
- lib/loggable_activity/update_payloads_builder.rb
- db/migrate/*_loggable_activity_tables.loggable_activity.rb
- 'db/migrate/20240716134137_create_loggable_activities.rb'
Rails/ThreeStateBooleanColumn:
Exclude:
- 'db/migrate/20240716134137_create_loggable_activities.rb'
Rails/Output:
Exclude:
- 'db/seeds.rb'git