mirror of
https://github.com/cmur2/openvpn-status-web.git
synced 2024-12-22 02:54:23 +01:00
gems: include rubocop-rake and fix linting
This commit is contained in:
parent
61f7cbd76c
commit
597b619b0b
@ -1,3 +1,6 @@
|
|||||||
|
require:
|
||||||
|
- rubocop-rake
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
TargetRubyVersion: '2.5'
|
TargetRubyVersion: '2.5'
|
||||||
NewCops: enable
|
NewCops: enable
|
||||||
|
1
Rakefile
1
Rakefile
@ -23,4 +23,5 @@ end
|
|||||||
|
|
||||||
task default: [:rubocop, :spec, 'bundle:audit', :solargraph]
|
task default: [:rubocop, :spec, 'bundle:audit', :solargraph]
|
||||||
|
|
||||||
|
desc 'Run all tasks desired for CI'
|
||||||
task ci: ['solargraph:init', :default]
|
task ci: ['solargraph:init', :default]
|
||||||
|
@ -38,5 +38,6 @@ Gem::Specification.new do |s|
|
|||||||
s.add_development_dependency 'rake'
|
s.add_development_dependency 'rake'
|
||||||
s.add_development_dependency 'rspec'
|
s.add_development_dependency 'rspec'
|
||||||
s.add_development_dependency 'rubocop', '~> 1.6.1'
|
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'
|
s.add_development_dependency 'solargraph', ' ~> 0.40.0'
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user