1 |
1 |
# This configuration was generated by
|
2 |
2 |
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
|
3 |
|
# using RuboCop version 0.76.0.
|
|
3 |
# using RuboCop version 0.77.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
|
... | ... | |
9 |
9 |
# Cop supports --auto-correct.
|
10 |
10 |
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
11 |
11 |
# SupportedStyles: with_first_argument, with_fixed_indentation
|
12 |
|
Layout/AlignArguments:
|
|
12 |
Layout/ArgumentAlignment:
|
13 |
13 |
Exclude:
|
14 |
14 |
- 'config/application.rb'
|
15 |
15 |
- 'lib/redmine/scm/adapters/bazaar_adapter.rb'
|
... | ... | |
20 |
20 |
- 'test/integration/api_test/projects_test.rb'
|
21 |
21 |
- 'test/integration/api_test/wiki_pages_test.rb'
|
22 |
22 |
|
23 |
|
# Cop supports --auto-correct.
|
24 |
|
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
|
25 |
|
# SupportedHashRocketStyles: key, separator, table
|
26 |
|
# SupportedColonStyles: key, separator, table
|
27 |
|
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
|
28 |
|
Layout/AlignHash:
|
29 |
|
Enabled: false
|
30 |
|
|
31 |
23 |
# Cop supports --auto-correct.
|
32 |
24 |
Layout/ClosingParenthesisIndentation:
|
33 |
25 |
Enabled: false
|
... | ... | |
138 |
130 |
# Cop supports --auto-correct.
|
139 |
131 |
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
140 |
132 |
# SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
|
141 |
|
Layout/IndentFirstArgument:
|
|
133 |
Layout/FirstArgumentIndentation:
|
142 |
134 |
Enabled: false
|
143 |
135 |
|
144 |
136 |
# Cop supports --auto-correct.
|
145 |
137 |
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
146 |
138 |
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
147 |
|
Layout/IndentFirstArrayElement:
|
|
139 |
Layout/FirstArrayElementIndentation:
|
148 |
140 |
Exclude:
|
149 |
141 |
- 'lib/redmine/nested_set/issue_nested_set.rb'
|
150 |
142 |
- 'lib/redmine/nested_set/project_nested_set.rb'
|
... | ... | |
157 |
149 |
# Cop supports --auto-correct.
|
158 |
150 |
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
159 |
151 |
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
160 |
|
Layout/IndentFirstHashElement:
|
|
152 |
Layout/FirstHashElementIndentation:
|
|
153 |
Enabled: false
|
|
154 |
|
|
155 |
# Cop supports --auto-correct.
|
|
156 |
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
|
|
157 |
# SupportedHashRocketStyles: key, separator, table
|
|
158 |
# SupportedColonStyles: key, separator, table
|
|
159 |
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
|
|
160 |
Layout/HashAlignment:
|
161 |
161 |
Enabled: false
|
162 |
162 |
|
163 |
163 |
# Cop supports --auto-correct.
|
... | ... | |
373 |
373 |
- 'app/controllers/issues_controller.rb'
|
374 |
374 |
- 'app/controllers/wiki_controller.rb'
|
375 |
375 |
|
376 |
|
# Configuration parameters: AllowComments.
|
377 |
|
Lint/HandleExceptions:
|
378 |
|
Exclude:
|
379 |
|
- 'app/controllers/activities_controller.rb'
|
380 |
|
- 'app/models/import.rb'
|
381 |
|
- 'db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb'
|
382 |
|
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
|
383 |
|
- 'lib/redmine/scm/adapters/subversion_adapter.rb'
|
384 |
|
|
385 |
376 |
Lint/InterpolationCheck:
|
386 |
377 |
Exclude:
|
387 |
378 |
- 'app/models/user.rb'
|
... | ... | |
403 |
394 |
- 'test/unit/attachment_test.rb'
|
404 |
395 |
- 'test/unit/lib/redmine/export/pdf_test.rb'
|
405 |
396 |
|
|
397 |
# Cop supports --auto-correct.
|
|
398 |
Lint/RedundantStringCoercion:
|
|
399 |
Exclude:
|
|
400 |
- 'lib/redmine/export/pdf/issues_pdf_helper.rb'
|
|
401 |
- 'test/functional/repositories_filesystem_controller_test.rb'
|
|
402 |
- 'test/functional/repositories_git_controller_test.rb'
|
|
403 |
- 'test/functional/repositories_mercurial_controller_test.rb'
|
|
404 |
|
406 |
405 |
# Cop supports --auto-correct.
|
407 |
406 |
Lint/SendWithMixinArgument:
|
408 |
407 |
Exclude:
|
... | ... | |
412 |
411 |
Lint/ShadowingOuterLocalVariable:
|
413 |
412 |
Enabled: false
|
414 |
413 |
|
415 |
|
# Cop supports --auto-correct.
|
416 |
|
Lint/StringConversionInInterpolation:
|
|
414 |
# Configuration parameters: AllowComments.
|
|
415 |
Lint/SuppressedException:
|
417 |
416 |
Exclude:
|
418 |
|
- 'lib/redmine/export/pdf/issues_pdf_helper.rb'
|
419 |
|
- 'test/functional/repositories_filesystem_controller_test.rb'
|
420 |
|
- 'test/functional/repositories_git_controller_test.rb'
|
421 |
|
- 'test/functional/repositories_mercurial_controller_test.rb'
|
|
417 |
- 'app/controllers/activities_controller.rb'
|
|
418 |
- 'app/models/import.rb'
|
|
419 |
- 'db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb'
|
|
420 |
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
|
|
421 |
- 'lib/redmine/scm/adapters/subversion_adapter.rb'
|
422 |
422 |
|
423 |
423 |
# Cop supports --auto-correct.
|
424 |
424 |
Lint/UnifiedInteger:
|
... | ... | |
492 |
492 |
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
|
493 |
493 |
- 'test/helpers/application_helper_test.rb'
|
494 |
494 |
|
|
495 |
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
|
496 |
# AllowedNames: io, id, to, by, on, in, at, ip, db, os
|
|
497 |
Naming/MethodParameterName:
|
|
498 |
Enabled: false
|
|
499 |
|
495 |
500 |
# Cop supports --auto-correct.
|
496 |
501 |
# Configuration parameters: PreferredName.
|
497 |
502 |
Naming/RescuedExceptionsVariableName:
|
... | ... | |
500 |
505 |
- 'lib/redmine/scm/adapters/abstract_adapter.rb'
|
501 |
506 |
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
|
502 |
507 |
|
503 |
|
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
504 |
|
# AllowedNames: io, id, to, by, on, in, at, ip, db, os
|
505 |
|
Naming/UncommunicativeMethodParamName:
|
506 |
|
Enabled: false
|
507 |
|
|
508 |
508 |
# Configuration parameters: EnforcedStyle.
|
509 |
509 |
# SupportedStyles: snake_case, camelCase
|
510 |
510 |
Naming/VariableName:
|
... | ... | |
1275 |
1275 |
- 'app/helpers/application_helper.rb'
|
1276 |
1276 |
|
1277 |
1277 |
# Cop supports --auto-correct.
|
1278 |
|
# Configuration parameters: Whitelist.
|
1279 |
|
# Whitelist: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with
|
|
1278 |
# Configuration parameters: AllowedMethods.
|
|
1279 |
# AllowedMethods: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with
|
1280 |
1280 |
Style/NestedParenthesizedCalls:
|
1281 |
1281 |
Exclude:
|
1282 |
1282 |
- 'lib/redmine/views/labelled_form_builder.rb'
|
... | ... | |
1474 |
1474 |
Enabled: false
|
1475 |
1475 |
|
1476 |
1476 |
# Cop supports --auto-correct.
|
1477 |
|
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, Whitelist.
|
1478 |
|
# Whitelist: present?, blank?, presence, try, try!
|
|
1477 |
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods.
|
|
1478 |
# AllowedMethods: present?, blank?, presence, try, try!
|
1479 |
1479 |
Style/SafeNavigation:
|
1480 |
1480 |
Enabled: false
|
1481 |
1481 |
|
... | ... | |
1575 |
1575 |
Enabled: false
|
1576 |
1576 |
|
1577 |
1577 |
# Cop supports --auto-correct.
|
1578 |
|
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
|
1579 |
|
# Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
|
|
1578 |
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethod.
|
|
1579 |
# AllowedMethod: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
|
1580 |
1580 |
Style/TrivialAccessors:
|
1581 |
1581 |
Exclude:
|
1582 |
1582 |
- 'app/models/issue.rb'
|