1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Disable RuboCop Style/TernaryParentheses (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21795 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-09-03 06:23:18 +00:00
parent 099a9adcb3
commit 11fcea96bf
2 changed files with 4 additions and 7 deletions

View File

@ -207,6 +207,9 @@ Style/RaiseArgs:
Style/SlicingWithRange:
Enabled: false
Style/TernaryParentheses:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false

View 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