Skip to content

Commit

Permalink
Merge pull request #17281 from imtayadeway/add-yamllint-to-provider-g…
Browse files Browse the repository at this point in the history
…enerator

Add .yamllint config to provider generators
  • Loading branch information
Fryguy authored Apr 10, 2018
2 parents 959fcd6 + 6adcf97 commit 9b6635b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/generators/provider/provider_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def create_files
template ".rubocop_cc.yml"
template ".rubocop_local.yml"
template ".travis.yml"
template ".yamllint"
template "Gemfile"
template "LICENSE.txt"
template "manageiq-providers-%provider_name%.gemspec"
Expand Down
13 changes: 13 additions & 0 deletions lib/generators/provider/templates/.yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
ignore: |
/vendor/**
/spec/manageiq/**
/spec/vcr_cassettes/**

extends: relaxed

rules:
indentation:
indent-sequences: false
line-length:
max: 120

0 comments on commit 9b6635b

Please sign in to comment.