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

tools: lint for strict equality for non null checks #5116

Closed
wants to merge 1 commit into from

Conversation

BridgeAR
Copy link
Member

@BridgeAR BridgeAR commented Feb 6, 2016

Enable linter to check for type safe comparison checks
See http://eslint.org/docs/rules/eqeqeq

I think it would be good to enable the type safe check for null checks too but I thought that might be controversial.

Right now a couple spots use +var != var and I kept them in place while disabling the linter in those cases.

Enable linter to check for type safe comparison checks
See http://eslint.org/docs/rules/eqeqeq
@Trott
Copy link
Member

Trott commented Feb 6, 2016

@Trott Trott added tools Issues and PRs related to the tools directory. lts-watch-v4.x labels Feb 6, 2016
@brendanashworth
Copy link
Contributor

I think this has been discussed previously: #2582 (#2582 (comment)), and #2392.

@BridgeAR
Copy link
Member Author

BridgeAR commented Feb 6, 2016

@brendanashworth thanks for pointing that out. Seems like I did not search thoroughly enough.

@BridgeAR BridgeAR closed this Feb 6, 2016
@BridgeAR BridgeAR deleted the eqeqeq branch April 15, 2018 19:57
@BridgeAR BridgeAR restored the eqeqeq branch April 15, 2018 19:57
@BridgeAR BridgeAR deleted the eqeqeq branch April 1, 2019 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants