Require the use of === and !==.
// code-linter.json5 { "rules": { "eqeqeq": "error" } }
For details, see eslint/eqeqeq.
export function test(a: string, b: string) { return a === b; }
export function test(a: string, b: string) { // Expected '===' and instead saw '=='. return a == b; }
plugin:@typescript-eslint/all
For details about how to configure Code Linter check rules, see Code Linter.