-
Notifications
You must be signed in to change notification settings - Fork 3
/
.rubocop.yml
55 lines (46 loc) · 1.04 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
require:
- rubocop-rails
- rubocop-rake
inherit_gem:
rubocop-inst:
- rubocop.yml
- rubocop-rspec.yml
AllCops:
TargetRailsVersion: 6.1
TargetRubyVersion: 2.7
Exclude:
- 'bin/*'
- 'gemfiles/*'
Bundler/DuplicatedGem:
Enabled: false
Layout/LineLength:
Max: 120 # Default: 80
Exclude:
- db/migrate/*.rb
Naming/FileName:
Exclude:
- lib/switchman-inst-jobs.rb
- spec/gemfiles/*.gemfile
Rails/SkipsModelValidations:
Enabled: false
Rails/SquishedSQLHeredocs:
Enabled: false
RSpec/AnyInstance:
Enabled: false
RSpec/InstanceVariable:
Enabled: false
RSpec/IndexedLet:
Enabled: false
RSpec/ContextWording:
Enabled: false
RSpec/VerifiedDoubles:
Enabled: false
Style/Documentation:
# This cop checks for missing top-level documentation of classes and modules.
# Classes with no body and namespace modules are exempt from the check.
# Namespace modules are modules that have nothing in their bodies except
# classes or other modules.
Enabled: false
Style/GuardClause:
Exclude:
- '**/migrate/*.rb'