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

Relax no-unused-expressions eslint rule #722

Closed
cannona opened this issue Sep 23, 2016 · 1 comment
Closed

Relax no-unused-expressions eslint rule #722

cannona opened this issue Sep 23, 2016 · 1 comment
Milestone

Comments

@cannona
Copy link
Contributor

cannona commented Sep 23, 2016

Currently I'm not able to do this.foo && this.foo(); without eslint complaining.

I propose that we adjust the no-unused-expressions rule options to accept ternary and short circuit expressions.

http://eslint.org/docs/rules/no-unused-expressions

@gaearon
Copy link
Contributor

gaearon commented Sep 23, 2016

Sounds good, want to make a PR?

@gaearon gaearon added this to the 1.0.0 milestone Sep 23, 2016
@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants