forked from Sorcery/sorcery
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.rubocop.yml
More file actions
64 lines (60 loc) · 1.13 KB
/
.rubocop.yml
File metadata and controls
64 lines (60 loc) · 1.13 KB
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
inherit_from: .rubocop_todo.yml
plugins:
- rubocop-performance
- rubocop-rspec
AllCops:
Exclude:
- 'lib/generators/sorcery/templates/**/*'
- 'vendor/bundle/**/*'
TargetRubyVersion: 3.2
NewCops: enable
# See: https://github.com/rubocop-hq/rubocop/issues/3344
Style/DoubleNegation:
Enabled: false
####################
## Pre-1.0.0 Code ##
####################
Metrics/AbcSize:
Exclude:
- 'lib/**/*'
- 'spec/**/*'
Metrics/BlockLength:
Exclude:
- 'lib/**/*'
- 'spec/**/*'
- 'sorcery.gemspec'
Layout/LineLength:
Exclude:
- 'lib/**/*'
- 'spec/**/*'
Metrics/ClassLength:
Exclude:
- 'lib/**/*'
- 'spec/**/*'
Metrics/CyclomaticComplexity:
Exclude:
- 'lib/**/*'
- 'spec/**/*'
Metrics/MethodLength:
Exclude:
- 'lib/**/*'
- 'spec/**/*'
Metrics/PerceivedComplexity:
Exclude:
- 'lib/**/*'
- 'spec/**/*'
Naming/AccessorMethodName:
Exclude:
- 'lib/**/*'
- 'spec/**/*'
Naming/PredicatePrefix:
Exclude:
- 'lib/**/*'
- 'spec/**/*'
Style/Documentation:
Exclude:
- 'lib/**/*'
- 'spec/**/*'
Style/OptionalBooleanParameter:
Exclude:
- 'lib/**/*'