summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-03-24 23:31:08 +0000
committerGo MAEDA <maeda@farend.jp>2023-03-24 23:31:08 +0000
commitf27de353381a45427b6e38b87c973902de92484f (patch)
tree1a300643420af5cf6d6538b91fd33372f0826211 /.rubocop.yml
parent18275bd02896a69efcc9980f08afd11523c93111 (diff)
downloadredmine-f27de353381a45427b6e38b87c973902de92484f.tar.gz
redmine-f27de353381a45427b6e38b87c973902de92484f.zip
Remove redundant "Enabled: true" in .rubocop.yml (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22151 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml26
1 files changed, 0 insertions, 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'