Tell oclint to ignore another idiom that is safe

This commit is contained in:
Kurtis Rader 2017-09-08 21:55:14 -07:00 committed by ridiculousfish
parent b142262cf7
commit 83b1b5d282

View File

@ -87,3 +87,9 @@ disable-rules:
# in fish source. # in fish source.
# #
- BitwiseOperatorInConditional - BitwiseOperatorInConditional
#
# I don't think I've ever seen a case where assigning a value to a
# parameter inside the function body was unclear, let along dangerous or
# an error. This rule is therefore just noise. Disable this rule.
#
- ParameterReassignment