We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd4acc commit e6b0ad0Copy full SHA for e6b0ad0
lib/rules/no-multiple-template-root.js
@@ -63,7 +63,7 @@ module.exports = {
63
}
64
65
const comments = element.comments.filter((comment) =>
66
- utils.inRange(comment, element)
+ utils.inRange(element, comment)
67
)
68
const elementRanges = element.children.map((child) => child.range)
69
if (disallowComments && comments.length > 0) {
0 commit comments