Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule typecheck-object is failed for simple comparing with 'object' #444

Closed
Valdermeyder opened this issue Feb 27, 2017 · 3 comments
Closed
Assignees
Milestone

Comments

@Valdermeyder
Copy link

Valdermeyder commented Feb 27, 2017

Rule typecheck-object is failed for simple comparing with 'object' string

var variable = 'object';
return variable === 'object'

Same issue with other typecheck-* rules

@alfaproject
Copy link

You are not checking for a type in your code

@EmmanuelDemey
Copy link
Owner

I have just added few unit test, and it looks like this issues is already resolved. I can not reproduce the problem

@Valdermeyder
Copy link
Author

@Gillespie59 are you sure that this is fixed? I still experienced the issue using version 2.2.0. Could you point me to unit test which you have added to fix the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants