cx,
IF_NOT_ELSE,
item.span,
- "Unnecessary boolean `not` operation",
+ "unnecessary boolean `not` operation",
+ None,
"remove the `!` and swap the blocks of the `if`/`else`",
);
},
cx,
IF_NOT_ELSE,
item.span,
- "Unnecessary `!=` operation",
+ "unnecessary `!=` operation",
+ None,
"change to `==` and swap the blocks of the `if`/`else`",
);
},