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

prefer-ternary: Add only-single-line option #1025

Merged

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Jan 15, 2021

Fixes #889

//cc @noftaly @szmarczak

@fisker fisker force-pushed the prefer-ternary-only-single-line branch from a9f2817 to 1b612c6 Compare January 15, 2021 11:42
@fisker fisker marked this pull request as ready for review January 15, 2021 11:48
@noftaly
Copy link
Contributor

noftaly commented Jan 15, 2021

Nice 🙂 Thanks !

I think it is great except the documentation is not really clear and could be explained better 😄

@fisker
Copy link
Collaborator Author

fisker commented Jan 15, 2021

I'm really bad at docs, much appreciate if you can help.

fisker and others added 3 commits January 19, 2021 13:29
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Elliot <elliot@maisl.fr>
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.

prefer-ternary: option to ignore when multiple lines
3 participants