Report the use of undesirable operators, e.g. :::
or
<<-
and suggest an alternative.
Arguments
- op
Named character vector.
names(op)
correspond to undesirable operators, while the values give a description of why the operator is undesirable. IfNA
, no additional information is given in the lint message. Defaults to default_undesirable_operators. To make small customizations to this list, usemodify_defaults()
.
See also
linters for a complete list of linters available in lintr.