Skip to content

Add always option to consistent-output rule #88

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

Merged

Conversation

bmish
Copy link
Member

@bmish bmish commented Nov 24, 2019

I'd like to ensure that invalid test cases always assert what the output should be.

The existing behavior of the rule is not very useful to me, since contributors of new rules often forget about or are unaware of the "output" assertion, and thus leave it out entirely, which the rule does not warn about.

@aladdin-add aladdin-add self-requested a review December 4, 2019 07:28
Copy link
Contributor

@not-an-aardvark not-an-aardvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@not-an-aardvark not-an-aardvark merged commit beafe71 into eslint-community:master Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants