Skip to content

Commit

Permalink
Merge pull request #54 from Fryguy/update_miq_style
Browse files Browse the repository at this point in the history
Update manageiq-style
  • Loading branch information
bdunne authored Jan 22, 2021
2 parents 14b0e10 + 22cebd4 commit 600ee23
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
16 changes: 16 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
prepare:
fetch:
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_base.yml
path: ".rubocop_base.yml"
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_cc_base.yml
path: ".rubocop_cc_base.yml"
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/base.yml
path: styles/base.yml
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/cc_base.yml
path: styles/cc_base.yml
plugins:
rubocop:
enabled: true
config: ".rubocop_cc.yml"
channel: rubocop-0-82
version: '2'
6 changes: 3 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
inherit_from:
- https://raw.githubusercontent.com/ManageIQ/guides/master/.rubocop_base.yml
# put all local rubocop config into .rubocop_local.yml as it will be loaded by .rubocop_cc.yml as well
- .rubocop_local.yml
- ".rubocop_local.yml"
inherit_gem:
manageiq-style: ".rubocop_base.yml"
4 changes: 4 additions & 0 deletions .rubocop_cc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
inherit_from:
- ".rubocop_base.yml"
- ".rubocop_cc_base.yml"
- ".rubocop_local.yml"
3 changes: 2 additions & 1 deletion awesome_spawn.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler"
spec.add_development_dependency "coveralls"
spec.add_development_dependency "manageiq-style"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_development_dependency "coveralls"
end

0 comments on commit 600ee23

Please sign in to comment.