forked from puppetlabs/ruby-pwsh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
41 lines (40 loc) · 1.07 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
Gemspec/RequiredRubyVersion:
Enabled: false
Layout/EndOfLine:
Description: Don't enforce CRLF on Windows.
Enabled: false
Metrics/LineLength:
Description: People have wide screens, use them.
Max: 200
Metrics/BlockLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/AbcSize:
Enabled: false
# requires 2.3's squiggly HEREDOC support, which we can't use, yet
# see http://www.virtuouscode.com/2016/01/06/about-the-ruby-squiggly-heredoc-syntax/
Layout/HeredocIndentation:
Enabled: false
# Need to ignore rubocop complaining about the name of the library.
Naming/FileName:
Exclude:
- lib/ruby-pwsh.rb
Style/RescueStandardError:
Enabled: false
Style/ExpandPathArguments:
Enabled: false
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Exclude:
- lib/puppet/provider/dsc_base_provider/dsc_base_provider.rb
Style/ClassVars:
Exclude:
- lib/puppet/provider/dsc_base_provider/dsc_base_provider.rb