From f27de353381a45427b6e38b87c973902de92484f Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Fri, 24 Mar 2023 23:31:08 +0000 Subject: [PATCH] Remove redundant "Enabled: true" in .rubocop.yml (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@22151 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop.yml | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 3711563e2..f929a55dc 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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' -- 2.39.5