From df06cbfdb098018ccf611f3ddce50f408d709b9c Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Sat, 15 Apr 2017 13:31:15 +0200 Subject: [PATCH] disable rubocop for Gemfile/Rakefile we generate both files with modulesync. changing the layout with rubocop will bring us a cyclic dependency. We need to fix our template generation before we run rubocop on both files. --- moduleroot/.rubocop.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moduleroot/.rubocop.yml b/moduleroot/.rubocop.yml index 8bb21714..f11fc649 100644 --- a/moduleroot/.rubocop.yml +++ b/moduleroot/.rubocop.yml @@ -9,6 +9,8 @@ AllCops: - .vendor/**/* - pkg/**/* - spec/fixtures/**/* + - Gemfile + - Rakefile <%- if !@configs.nil? and @configs.has_key?('AllCops') and @configs['AllCops'].has_key?('Exclude') -%> <%- @configs['AllCops']['Exclude'].each do |x| -%> - <%= x %>