Add eqeqeq rule but require == for null
This commit is contained in:
parent
64a4d2e717
commit
0086216c9d
30 changed files with 64 additions and 63 deletions
|
@ -540,6 +540,7 @@ function doRecordsConflict(
|
|||
// false, empty string, or 0 for these records we do not count them as
|
||||
// conflicting.
|
||||
if (
|
||||
// eslint-disable-next-line eqeqeq
|
||||
remoteValue === null &&
|
||||
(localValue === false ||
|
||||
localValue === '' ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue