1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2024-11-17 04:56:14 +01:00

gems: include rubocop-rake and fix linting

This commit is contained in:
cn 2020-12-25 18:04:59 +01:00
parent 23c09f722c
commit 1c1bcd253a
3 changed files with 5 additions and 0 deletions

View File

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

View File

@ -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]

View File

@ -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