dotnet / dotnet/roslynator

Contrary of "Remove redundant boolean literal"

Open
#97 1 comment 0 reactions 0 assignees View on GitHub
Area-Analyzers Feature Request
Dominant language
C#
Stars
3.5k
Forks
294
Avg merge
2h 30m
Merged PRs (30d)
4

Description

Feature request.

In the company we have a rule for using explicit Boolean comparisons rather than short ones such as always adding == false/true at the end of conditions.

Would be nice to have an option to suggest using == true/false as well. Currently "Remove redundant boolean literal"(I know it can be disabled) does offer removing this bit, what I'm asking is the other way around.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.