-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
67 lines (53 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
require:
- rubocop-capybara
- rubocop-factory_bot
- rubocop-performance
- rubocop-rails
- rubocop-rake
- rubocop-rspec
- rubocop-rspec_rails
inherit_from: .rubocop_todo.yml
inherit_gem:
test-prof: config/rubocop-rspec.yml
inherit_mode:
merge:
- Exclude
AllCops:
Exclude:
- config/**/*
- db/migrate/**
- db/schema.rb
NewCops: enable
TargetRubyVersion: 3.3.4
Metrics/MethodLength:
CountComments: false
Exclude:
- app/middleware/html_minifier.rb
- app/uploaders/community_logo_uploader.rb
- db/seeds/06_community.rb
Max: 5
Layout/LineLength:
Enabled: true
Max: 128
Lint/UselessAssignment:
Exclude:
- db/seeds/contributions/**
Rails/OutputSafety:
Exclude:
- app/decorators/*
- app/helpers/application_helper.rb
RSpec/AnyInstance:
Exclude:
- spec/controllers/contact_forms_controller_spec.rb
RSpec/ExampleLength:
Enabled: false
Style/Documentation:
Enabled: false
Style/RedundantFetchBlock:
Enabled: false
Style/RedundantRegexpEscape:
Enabled: true
Exclude:
- app/models/markdown_preparator.rb
Style/SymbolArray:
Enabled: false