1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Remove redundant "Enabled: true" in .rubocop.yml (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@22151 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2023-03-24 23:31:08 +00:00
parent 18275bd028
commit f27de35338

View File

@ -33,12 +33,10 @@ Layout/CaseIndentation:
- 'config/initializers/10-patches.rb'
Layout/ClosingParenthesisIndentation:
Enabled: true
Exclude:
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
Layout/EmptyLinesAroundAccessModifier:
Enabled: true
Exclude:
- 'config/initializers/10-patches.rb'
@ -46,12 +44,10 @@ Layout/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
Layout/FirstHashElementIndentation:
Enabled: true
Exclude:
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
Layout/LineLength:
Enabled: true
AllowedPatterns: ['\A\s+test \".+\" do\z', '\A\s*\#']
Exclude:
- 'db/migrate/0*.rb'
@ -61,7 +57,6 @@ Layout/LineLength:
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
Layout/RescueEnsureAlignment:
Enabled: true
Exclude:
- 'db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb'
@ -69,7 +64,6 @@ Layout/SpaceAroundEqualsInParameterDefault:
Enabled: false
Layout/SpaceBeforeSemicolon:
Enabled: true
Exclude:
- 'config/initializers/10-patches.rb'
@ -86,16 +80,9 @@ Layout/SpaceInsideHashLiteralBraces:
Enabled: false
Lint/MissingSuper:
Enabled: true
Exclude:
- 'lib/redmine/views/builders/structure.rb'
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Lint/SuppressedException:
AllowComments: true
@ -180,13 +167,11 @@ Style/AsciiComments:
- 'app/models/repository/git.rb'
Style/BlockComments:
Enabled: true
Exclude:
- 'lib/redmine/string_array_diff/diff.rb'
- 'lib/redmine/string_array_diff/diffable.rb'
Style/BlockDelimiters:
Enabled: true
Exclude:
- 'db/migrate/007_create_journals.rb'
- 'lib/redmine/string_array_diff/diff.rb'
@ -205,7 +190,6 @@ Style/FormatStringToken:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: true
EnforcedStyle: always
Exclude:
- 'db/**/*.rb'
@ -217,19 +201,9 @@ Style/FrozenStringLiteralComment:
Style/GlobalStdStream:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashSyntax:
Enabled: true
EnforcedStyle: no_mixed_keys
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Style/IdenticalConditionalBranches:
Exclude:
- 'config/initializers/10-patches.rb'