Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit suppresses the following RuboCop offenses. ```console Offenses: lib/rubocop/cop/i18n/gettext/decorate_string.rb:7:11: C: InternalAffairs/CopDescription: Description should be started with a word such as verb instead of This cop .... # This cop is looks for strings that appear to be sentences but are not decorated. ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/rubocop/cop/i18n/rails_i18n/decorate_string.rb:7:11: C: InternalAffairs/CopDescription: Description should be started with a word such as verb instead of This cop .... # This cop is looks for strings that appear to be sentences but are not decorated. ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/rubocop/cop/i18n/rails_i18n/decorate_string.rb:121:29: C: InternalAffairs/UndefinedConfig: EnforcedSentenceType is not defined in the configuration for I18n/RailsI18n/DecorateString in config/default.yml. case cop_config['EnforcedSentenceType'].to_s.downcase ^^^^^^^^^^^^^^^^^^^^^^ lib/rubocop/cop/i18n/rails_i18n/decorate_string.rb:131:35: C: InternalAffairs/UndefinedConfig: Regexp is not defined in the configuration for I18n/RailsI18n/DecorateString in config/default.yml. Regexp.new(cop_config['Regexp']) if cop_config['Regexp'] ^^^^^^^^ lib/rubocop/cop/i18n/rails_i18n/decorate_string.rb:131:60: C: InternalAffairs/UndefinedConfig: Regexp is not defined in the configuration for I18n/RailsI18n/DecorateString in config/default.yml. Regexp.new(cop_config['Regexp']) if cop_config['Regexp'] ^^^^^^^^ lib/rubocop/cop/i18n/rails_i18n/decorate_string.rb:147:44: C: InternalAffairs/UndefinedConfig: IgnoreExceptions is not defined in the configuration for I18n/RailsI18n/DecorateString in config/default.yml. return false unless cop_config['IgnoreExceptions'] ^^^^^^^^^^^^^^^^^^ rubocop-i18n.gemspec:6:1: W: [Correctable] Gemspec/RequireMFA: metadata['rubygems_mfa_required'] must be set to 'true'. Gem::Specification.new do |spec| ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ spec/spec_helper.rb:13:19: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::. unless defined?(::TestQueue) ^^ spec/spec_helper.rb:25:23: C: [Correctable] Style/YodaCondition: Reverse the order of the operands RUBY_ENGINE == v.to_s. v.is_a?(Symbol) ? RUBY_ENGINE == v.to_s : v ^^^^^^^^^^^^^^^^^^^^^ 23 files inspected, 9 offenses detected, 3 offenses autocorrectable ``` NOTE: This commit make MFA enabled in rubocop-i18n.gemspec so releases to rubygems.org will require MFA.
- Loading branch information