Merge pull request #4735 from betagouv/fix/rubocop-custom-rule
Only load rubocop's custom rule in development
This commit is contained in:
commit
a6b337c436
1 changed files with 13 additions and 11 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
if ENV["RAILS_ENV"] == "development"
|
||||||
module RuboCop
|
module RuboCop
|
||||||
module Cop
|
module Cop
|
||||||
module DS
|
module DS
|
||||||
|
@ -16,3 +17,4 @@ module RuboCop
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in a new issue