Skip to content

Commit 3f54e4c

Browse files
committed
disable linter for I18n gymnastics
1 parent 9b6385b commit 3f54e4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/ice_cube/i18n.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
module IceCube
44
LOCALES_PATH = File.expand_path(File.join("..", "..", "config", "locales"), __dir__)
55

6+
# rubocop:disable Naming/ConstantName
67
I18n = begin
78
require "i18n"
89
::I18n.load_path += Dir[File.join(LOCALES_PATH, "*.yml")]
910
::I18n
1011
rescue LoadError
1112
NullI18n
1213
end
14+
# rubocop:enable Naming/ConstantName
1315
end

0 commit comments

Comments
 (0)