Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit bcdf958

Browse files
committed
Ignore Foodcritic rule FC014.
Don't fail on FC014, since we have a ruby block longer than 15 lines, where much of the code is comments and logging.
1 parent c80689b commit bcdf958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ task :foodcritic do
3131
Rake::Task[:prepare_sandbox].execute
3232

3333
if Gem::Version.new("1.9.2") <= Gem::Version.new(RUBY_VERSION.dup)
34-
sh "foodcritic -f any #{sandbox_path}"
34+
sh "foodcritic -f any -f ~FC014 #{sandbox_path}"
3535
else
3636
puts "WARN: foodcritic run is skipped as Ruby #{RUBY_VERSION} is < 1.9.2."
3737
end

0 commit comments

Comments
 (0)