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
Create vue/multiline-ternary
extension rule
#1996
Conversation
@dev1437 Could you please fix the lint issues? Also, there are some tests failing in ESLint v6, @ota-meshi maybe you can help how to skip those tests there? |
Not sure why the test fail in eslint v6 but run fine locally, but lint is okay now |
It seems that the multiline-ternary rule did not previously support autofix. I think it is necessary to check the version of eslint and ignore the |
This comment was marked as resolved.
This comment was marked as resolved.
multiline ternary
rulevue/multiline-ternary
extension rule
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
Co-authored-by: Flo Edelmann <florian-edelmann@online.de>
…ugin-vue into rule/multiline-ternary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for implementing all the feedback!
Wrap multiline ternary rule for vue.
Not sure about the indenting, maybe it is not an issue and would be handled by other rules. Looks strange.