File tree Expand file tree Collapse file tree 2 files changed +18
-28
lines changed Expand file tree Collapse file tree 2 files changed +18
-28
lines changed Original file line number Diff line number Diff line change 11---
2- require :
3- - rubocop-performance
4- - rubocop-rspec
2+ require : [rubocop-performance, rubocop-rspec]
53AllCops :
64 NewCops : enable
75 DisplayCopNames : true
86 TargetRubyVersion : ' 2.6'
9- Include :
10- - " **/*.rb"
7+ Include : ['**/*.rb']
118 Exclude :
12- - bin/*
13- - " .vendor/**/*"
14- - " **/Gemfile"
15- - " **/Rakefile"
16- - pkg/**/*
17- - spec/fixtures/**/*
18- - vendor/**/*
19- - " **/Puppetfile"
20- - " **/Vagrantfile"
21- - " **/Guardfile"
9+ - bin/*
10+ - .vendor/**/*
11+ - ' **/Gemfile'
12+ - ' **/Rakefile'
13+ - pkg/**/*
14+ - spec/fixtures/**/*
15+ - vendor/**/*
16+ - ' **/Puppetfile'
17+ - ' **/Vagrantfile'
18+ - ' **/Guardfile'
2219Layout/LineLength :
2320 Description : People have wide screens, use them.
2421 Max : 200
2522RSpec/BeforeAfterAll :
2623 Description : Beware of using after(:all) as it may cause state to leak between tests.
2724 A necessary evil in acceptance testing.
28- Exclude :
29- - spec/acceptance/**/*.rb
25+ Exclude : [spec/acceptance/**/*.rb]
3026RSpec/HookArgument :
3127 Description : Prefer explicit :each argument, matching existing module's style
3228 EnforcedStyle : each
3329RSpec/DescribeSymbol :
34- Exclude :
35- - spec/unit/facter/**/*.rb
30+ Exclude : [spec/unit/facter/**/*.rb]
3631Style/BlockDelimiters :
3732 Description : Prefer braces for chaining. Mostly an aesthetical choice. Better to
3833 be consistent then.
@@ -75,9 +70,7 @@ Style/SymbolArray:
7570RSpec/MessageSpies :
7671 EnforcedStyle : receive
7772Style/Documentation :
78- Exclude :
79- - lib/puppet/parser/functions/**/*
80- - spec/**/*
73+ Exclude : [lib/puppet/parser/functions/**/*, spec/**/*]
8174Style/WordArray :
8275 EnforcedStyle : brackets
8376Performance/AncestorsInclude :
Original file line number Diff line number Diff line change 1- # Use default_module_facts.yml for module specific facts.
2- #
3- # Facts specified here will override the values provided by rspec-puppet-facts.
41---
52networking :
6- ip : " 172.16.254.254"
7- ip6 : " FE80:0000:0000:0000:AAAA:AAAA:AAAA"
8- mac : " AA:AA:AA:AA:AA:AA"
3+ ip : 172.16.254.254
4+ ip6 : FE80:0000:0000:0000:AAAA:AAAA:AAAA
5+ mac : AA:AA:AA:AA:AA:AA
96is_pe : false
You can’t perform that action at this time.
0 commit comments