Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

analyse/operators/non-numeric-unary-minus

In the analyse-strict preset and every stricter one. Report only. Upstream gates: strictRules.numericOperandsInArithmeticOperators + bleedingEdge.

Configuration

[analyse.rules]
"operators/non-numeric-unary-minus" = "on"

To skip it in some files or lines, add an ignore comment.

Replaces

More analyse/operators rules · Edit this page

Last updated on

Was this page helpful?