]> source.dussan.org Git - redmine.git/commitdiff
Disable RuboCop Style/TernaryParentheses (#36919).
authorGo MAEDA <maeda@farend.jp>
Sat, 3 Sep 2022 06:23:18 +0000 (06:23 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 3 Sep 2022 06:23:18 +0000 (06:23 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@21795 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop.yml
.rubocop_todo.yml

index 66fc64d241c60cbdf32192a6f948683b840d9f4a..adca4494b724d921ed773f9d883594d900541bce 100644 (file)
@@ -207,6 +207,9 @@ Style/RaiseArgs:
 Style/SlicingWithRange:
   Enabled: false
 
+Style/TernaryParentheses:
+  Enabled: false
+
 Style/TrailingCommaInArrayLiteral:
   Enabled: false
 
index 050d2a06bb49d1d3759c6a27addb881d1f0c2d3f..bfe1143201f7ff4b27a36f740a04799e005927f6 100644 (file)
@@ -1,6 +1,6 @@
 # This configuration was generated by
 # `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 1.35.0.
+# using RuboCop version 1.35.1.
 # The point is for the user to remove these configuration records
 # one by one as the offenses are removed from the code base.
 # Note that changes in the inspected code, or installation of new
@@ -1800,12 +1800,6 @@ Style/SymbolArray:
 Style/SymbolProc:
   Enabled: false
 
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
-# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
-Style/TernaryParentheses:
-  Enabled: false
-
 # This cop supports safe autocorrection (--autocorrect).
 # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
 # AllowedMethods: 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