Skip to content

Commit

Permalink
lock to rubocop 0.71 since it's latest supported by codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
olbrich committed Jul 21, 2019
1 parent 87b1d3f commit 853524c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 26 deletions.
18 changes: 5 additions & 13 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,13 @@ checks:
plugins:
rubocop:
enabled: true
channel: rubocop-0-66
channel: rubocop-0-71
markdownlint:
enabled: true
brakeman:
enabled: true
exclude_patterns:
- "config/"
- "db/"
- "dist/"
- "features/"
- "**/node_modules/"
- "script/"
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/vendor/"
- "**/*.d.ts"
- "gemfiles/"
- "Gemfile"
- "bin/*"
- "gemfiles/*"
- "test/**/*"
13 changes: 3 additions & 10 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
AllCops:
TargetRubyVersion: 2.4
Include:
- '**/Rakefile'
- '**/config.ru'
- 'lib/tasks/**/*'
Exclude:
- Gemfile*
- README
- 'db/**/*'
- 'config/**/*'
- 'bin/**/*'
- 'vendor/bundle/**/*'
- 'spec/support/**/*' # rspec support helpers have a strange api
- bin/*
- gemfiles/*
- test/**/*

Rails:
Enabled: true
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ GEM
rspec-mocks (~> 3.8.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.2)
rubocop (0.73.0)
rubocop (0.71.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.6)
Expand Down Expand Up @@ -238,7 +238,7 @@ DEPENDENCIES
pry-byebug
pry-rescue
rails_email_validator
rubocop (~> 0.73.0)
rubocop (~> 0.71.0)
sqlite3 (~> 1.3.0)
wwtd

Expand Down
2 changes: 1 addition & 1 deletion devise-security.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'pry-byebug'
s.add_development_dependency 'pry-rescue'
s.add_development_dependency 'rails_email_validator'
s.add_development_dependency 'rubocop', '~> 0.73.0'
s.add_development_dependency 'rubocop', '~> 0.71.0'
s.add_development_dependency 'sqlite3'
s.add_development_dependency 'wwtd'
end

0 comments on commit 853524c

Please sign in to comment.