Skip to content

Commit

Permalink
load common rubocop config file from remote URL
Browse files Browse the repository at this point in the history
  • Loading branch information
taichi-ishitani committed Jan 8, 2025
1 parent 2ab0528 commit efdaf6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
version: "2"
prepare:
fetch:
- url: https://raw.githubusercontent.com/rggen/rggen-devtools/master/config/rubocop_common.yml
path: rubocop_common.yml
plugins:
duplication:
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% if File.exist?('rubocop_common.yml') %>
<% if Gem::Specification.find_all_by_name('rggen-devtools').empty? %>
inherit_from:
- rubocop_common.yml
- https://raw.githubusercontent.com/rggen/rggen-devtools/master/config/rubocop_common.yml
- .rubocop_todo.yml
<% else %>
inherit_gem:
Expand Down

0 comments on commit efdaf6a

Please sign in to comment.