From 17ee328c0fd0ea155e2400196ed75276ffed1202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Defortis?= Date: Tue, 2 May 2017 12:13:51 +0200 Subject: [PATCH] Fix extra rubocop offenses Also removed lib/ directory from rubocop inspection --- .rubocop.yml | 3 +++ Rakefile | 8 +------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index f70c35c..f9cdddb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,6 +6,9 @@ AllCops: - 'vendor/**/*' # Ignore code from test fixtures - 'spec/fixtures/**/*' + # Ignore lib/** as it contains a lot of offenses for now. + # TODO : fix lib/** offenses + - 'lib/**/*' Lint/ConditionPosition: Enabled: true diff --git a/Rakefile b/Rakefile index 94fd3f0..d786f98 100644 --- a/Rakefile +++ b/Rakefile @@ -59,10 +59,4 @@ task :contributors do end desc "Run syntax, lint, and spec tests." -task :test => [ - :metadata_lint, - :syntax, - :lint, - :rubocop, - :spec, -] +task :test => %i(metadata_lint syntax lint rubocop spec)