Skip to content

Commit

Permalink
Update rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
oieioi committed Apr 18, 2020
1 parent 7f0842b commit bb8f931
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
.byebug_history
*.sql
tags
Gemfile.lock
26 changes: 25 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
AllCops:
TargetRubyVersion: 2.6

Style/AsciiComments:
Enabled: false

Expand All @@ -7,6 +10,27 @@ Style/Documentation:
Style/ClassVars:
Enabled: false

Layout/SpaceAroundMethodCallOperator:
Enabled: false

Lint/RaiseException:
Enabled: false

Lint/StructNewOverride:
Enabled: false

Style/ExponentialNotation:
Enabled: false

Style/HashEachMethods:
Enabled: false

Style/HashTransformKeys:
Enabled: false

Style/HashTransformValues:
Enabled: false

Style/FrozenStringLiteralComment:
Exclude:
- 'exe/**/*'
Expand All @@ -18,7 +42,7 @@ Metrics/BlockLength:
Exclude:
- 'spec/**/*'

Metrics/LineLength:
Layout/LineLength:
Max: 120

Metrics/MethodLength:
Expand Down
6 changes: 3 additions & 3 deletions redash_exporter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Gem::Specification.new do |spec|
spec.add_dependency "zaru", "~> 0.1.0"

spec.add_development_dependency "bundler"
spec.add_development_dependency "byebug", "~> 11.0.1"
spec.add_development_dependency "rake", ">= 12.3.3"
spec.add_development_dependency "byebug"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "rubocop", "~> 0.67.2"
spec.add_development_dependency "rubocop", "~> 0.82"
end

0 comments on commit bb8f931

Please sign in to comment.