-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
@eslint-community/eslint-comments/disable-enable-pair
crash in HTML files
#162
Comments
This issue has been automatically closed because we haven't received a response from the original author 🙈. This automation helps keep the issue tracker clean from issues that aren't actionable. Please reach out if you have more information for us! 🙂 |
Hi, can this be reopenned? (CC @MichaelDeBoey @eslint-community , see #164 ) |
Can you try to reproduce this error in the playground? |
Doesn't look like the playground supports HTML files: But here's an example: <div>
<!-- eslint-disable @angular-eslint/template/no-inline-styles -->
<span style="font-size: 10px;">▼</span>
<!-- eslint-enable @angular-eslint/template/no-inline-styles -->
</div> More complete example with Angular <div>
<!-- eslint-disable @angular-eslint/template/no-inline-styles -->
@if (enableFilterByType) {
<div>{{ 'filter.type' | transloco }} <span style="font-size: 10px;">▼</span></div>
}
@if (enableFilterBySources) {
<div>{{ 'filter.sources' | transloco }} <span style="font-size: 10px;">▼</span></div>
}
@if (enableFilterByDate) {
<div>{{ 'filter.date' | transloco }} <span style="font-size: 10px;">▼</span></div>
}
@if (enableSortBy) {
<div>{{ 'filter.sort-by' | transloco }} <span style="font-size: 10px;">▼</span></div>
}
<!-- eslint-enable @angular-eslint/template/no-inline-styles -->
</div> |
Version:
@eslint-community/[email protected]
.eslintrc.json
Error:
The text was updated successfully, but these errors were encountered: