- 'test/functional/workflows_controller_test.rb'
- 'test/unit/attachment_test.rb'
- 'test/unit/lib/redmine/export/pdf_test.rb'
- - 'test/unit/project_copy_test.rb'
- 'test/unit/project_test.rb'
- 'test/unit/query_test.rb'
- 'test/unit/role_test.rb'
- 'app/models/version.rb'
- 'app/models/wiki_page.rb'
-# Configuration parameters: Include.
+# Configuration parameters: Severity, Include.
# Include: app/models/**/*.rb
Rails/ActiveRecordOverride:
Exclude:
Rails/Date:
Enabled: false
+# Configuration parameters: Severity.
Rails/DuplicateScope:
Exclude:
- 'app/models/enumeration.rb'
- 'config/routes.rb'
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: Include, AllowedMethods, AllowedPatterns, IgnoredMethods.
+# Configuration parameters: Include, AllowedMethods, AllowedPatterns.
# Include: app/models/**/*.rb
# AllowedMethods: order, limit, select, lock
-# IgnoredMethods: order, limit, select, lock
Rails/FindEach:
Exclude:
- 'app/models/auth_source.rb'
# RuboCop
gem 'rubocop', '~> 1.48.1', require: false
gem 'rubocop-performance', '~> 1.16.0', require: false
- gem 'rubocop-rails', '~> 2.17.2', require: false
+ gem 'rubocop-rails', '~> 2.18.0', require: false
end
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")