Added new rules for prefer toBeNull/toBeTrue/toBeFalse. This implements the enhancement #352
We could discuss whether or not we need rules to prefer toBeTrue/toBeFalse over toBeTruthy/toBeFalsy and what should we call them.
How has this been tested?
I wrote mocha tests following the same pattern for toBeUndefined
Types of changes
[ ] Test change (non-breaking change which adds additional test scenarios)
Description
Added new rules for prefer toBeNull/toBeTrue/toBeFalse. This implements the enhancement #352 We could discuss whether or not we need rules to prefer toBeTrue/toBeFalse over toBeTruthy/toBeFalsy and what should we call them.
How has this been tested?
I wrote mocha tests following the same pattern for toBeUndefined
Types of changes
Checklist
npm run test
and everything passes