forked from countries/countries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
49 lines (37 loc) · 777 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
AllCops:
NewCops: enable
TargetRubyVersion: 3.0
Layout/LineLength:
Max: 120
AllowedPatterns: ['^ *# ']
Exclude:
- countries.gemspec
- 'spec/**/*'
Metrics/MethodLength:
Enabled: false
Style/Documentation:
Enabled: false
Bundler/OrderedGems:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- Rakefile
- 'lib/countries/tasks/*'
Style/CaseEquality:
Exclude:
- 'lib/countries/country/finder_methods.rb'
Style/IfUnlessModifier:
Exclude:
- 'spec/thread_safety_spec.rb'
Naming/MethodName:
Exclude:
- 'lib/countries/country/class_methods.rb'
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/perf_spec.rb'
Metrics/ClassLength:
Max: 130
Metrics/AbcSize:
Exclude:
- 'lib/countries/sources/cldr/*'