-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.rubocop.yml
48 lines (39 loc) · 1008 Bytes
/
.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
inherit_from:
- styleguide/ruby/rubocop-rails-5.yml
AllCops:
TargetRubyVersion: 2.3
Exclude:
# Exclude generated or external code
- bin/**/*
- vendor/**/*
- db/schema.rb
# The project has models without ActiveRecord where this is a false positive
Rails/DynamicFindBy:
Enabled: false
Metrics/BlockLength:
Exclude:
- config/environments/**/*.rb
- Guardfile
- lib/tasks/export.rake
- spec/**/*.rb
Metrics/ModuleLength:
Exclude:
# Temporarily contains functionality that belongs to screensmart-r
- app/models/r_package.rb
Metrics/MethodLength:
Exclude:
- spec/**/*_spec.rb
- spec/support/mock_all_calls_to_r.rb
- app/pdfs/response_report.rb
Metrics/AbcSize:
Exclude:
- app/pdfs/response_report.rb
# Trust developers to document where neccesary, otherwise
# rely on the code being self-documenting
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/LambdaCall:
Exclude:
- Guardfile