Add eqeqeq rule but require == for null

This commit is contained in:
Jamie Kyle
2022-09-14 14:40:44 -07:00
committed by GitHub
parent 64a4d2e717
commit 0086216c9d
30 changed files with 64 additions and 63 deletions

View File

@@ -89,7 +89,7 @@ async function main(
await wrapEventEmitterOnce(proxyServer, 'listening');
const addr = proxyServer.address();
strictAssert(
typeof addr === 'object' && addr !== null,
typeof addr === 'object' && addr != null,
'Address has to be an object'
);