File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -98,23 +98,16 @@ rescue LoadError
98
98
end
99
99
end
100
100
101
+ # Setup RuboCop-LTS
101
102
begin
102
- require "rubocop/gradual/rake_task"
103
-
104
- RuboCop ::Gradual ::RakeTask . new
103
+ require "rubocop/lts"
105
104
105
+ Rubocop ::Lts . install_tasks
106
106
defaults << "rubocop_gradual"
107
-
108
- namespace ( :rubocop_gradual ) do
109
- desc ( "dogfood internal rubocop configs" )
110
- task ( :dogfood ) do
111
- %x(bin/rubocop-gradual -c .rubocop-dogfood.yml)
112
- end
113
- end
114
107
rescue LoadError
115
108
desc ( "(stub) rubocop_gradual is unavailable" )
116
109
task ( :rubocop_gradual ) do
117
- warn ( "NOTE: rubocop-gradual isn't installed, or is disabled for #{ RUBY_VERSION } in the current environment" )
110
+ warn ( "NOTE: rubocop-lts isn't installed, or is disabled for #{ RUBY_VERSION } in the current environment" )
118
111
end
119
112
end
120
113
You can’t perform that action at this time.
0 commit comments