Browse Source

gems: include rubocop-rake and fix linting

tags/v3.2.0
cn 4 months ago
parent
commit
1c1bcd253a
  1. 3
      .rubocop.yml
  2. 1
      Rakefile
  3. 1
      dyndnsd.gemspec

3
.rubocop.yml

@ -1,3 +1,6 @@
require:
- rubocop-rake
AllCops:
TargetRubyVersion: '2.5'
NewCops: enable

1
Rakefile

@ -28,4 +28,5 @@ end
task default: [:rubocop, :spec, 'bundle:audit', :solargraph]
desc 'Run all tasks desired for CI'
task ci: ['solargraph:init', :default, :hadolint]

1
dyndnsd.gemspec

@ -41,5 +41,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
s.add_development_dependency 'rubocop', '~> 1.6.1'
s.add_development_dependency 'rubocop-rake', '~> 0.5.1'
s.add_development_dependency 'solargraph', '~> 0.40.0'
end
Loading…
Cancel
Save