Project

General

Profile

Patch #31509 » rubocop-0_72_0.diff

Go MAEDA, 2019-06-26 07:25

View differences:

.rubocop.yml (作業コピー)
16 16

  
17 17
# Enable extensions
18 18

  
19
Rails:
20
  Enabled: true
19
require:
20
  - rubocop-rails
21 21

  
22 22
# Rules for Redmine
23 23

  
.rubocop_todo.yml (作業コピー)
1 1
# This configuration was generated by
2 2
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
3
# using RuboCop version 0.71.0.
3
# using RuboCop version 0.72.0.
4 4
# The point is for the user to remove these configuration records
5 5
# one by one as the offenses are removed from the code base.
6 6
# Note that changes in the inspected code, or installation of new
......
313 313

  
314 314
# Cop supports --auto-correct.
315 315
# Configuration parameters: EnforcedStyle.
316
# SupportedStyles: normal, rails
316
# SupportedStyles: normal, indented_internal_methods
317 317
Layout/IndentationConsistency:
318 318
  Exclude:
319 319
    - 'app/models/attachment.rb'
......
1009 1009
    - 'app/models/tracker.rb'
1010 1010
    - 'app/models/wiki.rb'
1011 1011

  
1012
# Configuration parameters: Include.
1013
# Include: app/helpers/**/*.rb
1014
Rails/HelperInstanceVariable:
1015
  Exclude:
1016
    - 'app/helpers/application_helper.rb'
1017
    - 'app/helpers/attachments_helper.rb'
1018
    - 'app/helpers/context_menus_helper.rb'
1019
    - 'app/helpers/imports_helper.rb'
1020
    - 'app/helpers/issues_helper.rb'
1021
    - 'app/helpers/journals_helper.rb'
1022
    - 'app/helpers/projects_helper.rb'
1023
    - 'app/helpers/queries_helper.rb'
1024
    - 'app/helpers/repositories_helper.rb'
1025
    - 'app/helpers/search_helper.rb'
1026
    - 'app/helpers/sort_helper.rb'
1027
    - 'app/helpers/timelog_helper.rb'
1028
    - 'app/helpers/users_helper.rb'
1029
    - 'app/helpers/versions_helper.rb'
1030
    - 'app/helpers/workflows_helper.rb'
1031

  
1012 1032
# Cop supports --auto-correct.
1013 1033
# Configuration parameters: EnforcedStyle.
1014 1034
# SupportedStyles: numeric, symbolic
......
1353 1373
    - 'config/initializers/10-patches.rb'
1354 1374
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
1355 1375

  
1376
# Configuration parameters: AllowIfModifier.
1356 1377
Style/IfInsideElse:
1357 1378
  Enabled: false
1358 1379

  
Gemfile (作業コピー)
84 84
  gem "capybara", '~> 2.13'
85 85
  gem "selenium-webdriver"
86 86
  # RuboCop
87
  gem 'rubocop', '~> 0.71.0'
87
  gem 'rubocop', '~> 0.72.0'
88
  gem 'rubocop-rails', '~> 2.1.0'
88 89
end
89 90

  
90 91
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
(4-4/4)