Permalink
Browse files

Fix extra rubocop offenses

Also removed lib/ directory from rubocop inspection
  • Loading branch information...
cedef committed May 2, 2017
1 parent 3ff3548 commit 17ee328c0fd0ea155e2400196ed75276ffed1202
Showing with 4 additions and 7 deletions.
  1. +3 −0 .rubocop.yml
  2. +1 −7 Rakefile
View
@@ -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
View
@@ -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)

0 comments on commit 17ee328

Please sign in to comment.