Browse Source

Update RuboCop Rails to 2.10 (#35207).


git-svn-id: http://svn.redmine.org/redmine/trunk@20989 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.0.0
Go MAEDA 3 years ago
parent
commit
6a49e000c7
2 changed files with 4 additions and 1 deletions
  1. 3
    0
      .rubocop.yml
  2. 1
    1
      Gemfile

+ 3
- 0
.rubocop.yml View File

@@ -118,6 +118,9 @@ Rails/BulkChangeTable:
- 'db/migrate/20120714122200_add_workflows_rule_fields.rb'
- 'db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb'

Rails/EnvironmentVariableAccess:
Enabled: false

Rails/HelperInstanceVariable:
Enabled: false


+ 1
- 1
Gemfile View File

@@ -94,7 +94,7 @@ group :test do
# RuboCop
gem 'rubocop', '~> 1.14.0'
gem 'rubocop-performance', '~> 1.11.0'
gem 'rubocop-rails', '~> 2.9.0'
gem 'rubocop-rails', '~> 2.10.1'
end

local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")

Loading…
Cancel
Save