diff --git a/lib/generators/provider/provider_generator.rb b/lib/generators/provider/provider_generator.rb index c07f3e73df2..f0315666df9 100644 --- a/lib/generators/provider/provider_generator.rb +++ b/lib/generators/provider/provider_generator.rb @@ -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" diff --git a/lib/generators/provider/templates/.yamllint b/lib/generators/provider/templates/.yamllint new file mode 100644 index 00000000000..dd017b23ab3 --- /dev/null +++ b/lib/generators/provider/templates/.yamllint @@ -0,0 +1,13 @@ +--- +ignore: | + /vendor/** + /spec/manageiq/** + /spec/vcr_cassettes/** + +extends: relaxed + +rules: + indentation: + indent-sequences: false + line-length: + max: 120