-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingexternalThis issue is with another package, not typescript-eslint itselfThis issue is with another package, not typescript-eslint itselfhas prthere is a PR raised to close thisthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
Are you opening an issue because the rule you're trying to use is not found?
No
Repro
Rule definition in YAML
@typescript-eslint/no-base-to-string": error
Blamed TypeScript code fragment:
const result = compareSync(password, user.password); // result is of type boolean
logger.error(`AuthService.checkPassword(): ${result}`);
Expected Result
No output
Actual Result
152:51 error 'result will evaluate to '[Object object]' when stringified @typescript-eslint/no-base-to-string
Additional Info
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
2.21.1-alpha.5 |
@typescript-eslint/parser |
2.21.1-alpha.5 |
TypeScript |
3.8.3 |
ESLint |
7.0.0-alpha.2 |
node |
13.9.0 |
npm |
6.14.1 |
doberkofler, HolgerJeromin, glen-84, xavdid and shayded-exe
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingexternalThis issue is with another package, not typescript-eslint itselfThis issue is with another package, not typescript-eslint itselfhas prthere is a PR raised to close thisthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin