[rubocop] fix offences

This commit is contained in:
Nikita Shilnikov 2022-02-07 15:00:46 +03:00
parent 0782a77d74
commit 6614c7f0c3
No known key found for this signature in database
GPG Key ID: E569D1D64C40E241
3 changed files with 5 additions and 1 deletions

View File

@ -13,5 +13,5 @@ require "dry/inflector"
require "irb"
Dry::Inflector.new.instance_exec do
binding.irb # rubocop:disable Lint/Debugger
binding.irb
end

View File

@ -1,6 +1,7 @@
# frozen_string_literal: true
module Fixtures
# rubocop:disable Metrics/ModuleLength
module Ordinalize
def self.cases
CASES
@ -110,4 +111,5 @@ module Fixtures
100 => "100th"
}.freeze
end
# rubocop:enable Metrics/ModuleLength
end

View File

@ -1,6 +1,7 @@
# frozen_string_literal: true
module Fixtures
# rubocop:disable Metrics/ModuleLength
module Singularize
def self.cases
CASES
@ -179,4 +180,5 @@ module Fixtures
"postgres" => "postgres"
}.freeze
end
# rubocop:enable Metrics/ModuleLength
end