-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
50 lines (50 loc) · 987 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
49
50
require:
- rubocop-rspec
- rubocop-rails
Bundler/GemComment:
Enabled: false
Lint/AmbiguousBlockAssociation:
Exclude:
- spec/**/*
Metrics/LineLength:
Max: 100
Metrics/BlockLength:
Exclude:
- spec/**/*
Style/Copyright:
Enabled: false
Notice: 'Copyright (\(c\) )?2020 WithoutPrivacy'
AutocorrectNotice: '# Copyright (c) 2020 WithoutPrivacy'
Style/CollectionMethods:
Enabled: true
Style/AutoResourceCleanup:
Enabled: true
Style/OptionHash:
Enabled: true
Style/SymbolArray:
Enabled: true
Style/Documentation:
Enabled: false
Style/RescueModifier:
Enabled: false
Style/HashEachMethods:
Enabled: false
Style/HashTransformKeys:
Enabled: false
Style/HashTransformValues:
Enabled: false
AllCops:
TargetRubyVersion: 2.7
Include:
- '**/Rakefile'
- '**/config.ru'
- '**/*.rb'
- '**/*.gemfile'
- 'spec/**/*'
- 'Gemfile'
Exclude:
- 'bin/**/*'
- 'config/**/*'
- 'db/**/*'
- 'vendor/**/*'
- 'node_modules/**/*'