- 'app/models/wiki_content_version.rb'
- 'lib/redmine/menu_manager.rb'
+Rails/DuplicateScope:
+ Exclude:
+ - 'app/models/enumeration.rb'
+
# This cop supports unsafe auto-correction (--auto-correct-all).
# Configuration parameters: Whitelist, AllowedMethods, AllowedReceivers.
# Whitelist: find_by_sql
- 'test/unit/query_test.rb'
- 'test/unit/role_test.rb'
+Rails/I18nLocaleTexts:
+ Exclude:
+ - 'app/models/mailer.rb'
+
# Configuration parameters: IgnoreScopes, Include.
# Include: app/models/**/*.rb
Rails/InverseOf:
# RuboCop
gem 'rubocop', '~> 1.26.0'
gem 'rubocop-performance', '~> 1.13.0'
- gem 'rubocop-rails', '~> 2.13.0'
+ gem 'rubocop-rails', '~> 2.14.0'
end
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")