-
-
Notifications
You must be signed in to change notification settings - Fork 676
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
feat(no-multiple-template-root): support disallowComments property #2685
base: master
Are you sure you want to change the base?
Conversation
@FloEdelmann I am confused about how to determine if it is the comment of the root node. So I choose to filter invalid comments by node ranges. If you have better idea, please tell me. Thanks! <template>
<!-- this is a comment --> // should report
<div>
123
<!-- this is a comment --> // should not report
</div>
<!-- this is a comment --> // should report
</template> |
d93ffe2
to
0cd3dff
Compare
0cd3dff
to
d2f906f
Compare
@ota-meshi I updated docs and test cases. Please review it if you have time. Thanks. |
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.
Thank you for this PR!
Thanks for your review. I updated code and test cases. |
979a728
to
e6bc9d0
Compare
e6bc9d0
to
7dcd683
Compare
Issue
close #2316