-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
To ignore rules in some lines #138
Comments
HTMLHint only support html code, your code is template. |
Thank you for your response. As you say, my code is a template. Don't you have a plan to support template - HTML snipet? |
I have no idea to support template. |
Yes! I understood. Thanks! 😄 |
However, the true question is how can i ignore some lines? |
Is there any choices like |
I think no, but I like the idea/syntax |
because eslint, stylelint all support such function and their syntax was all like this. Hope if can support it. |
@xianshenglu I think the best idea is to open a new issue with title proposal, because this issue is old and closed for a long time |
#161 This proposal has already existed. |
in this case you should suggest your proposal there 😃 |
I would like to ignore rules in some lines. Are there any plans to adopt such a functions?
It assume that I set the rule of "tag-pair" and I have a file of following HTML's snippet.
In this case, I will find two errors of "tag-pair" in Line 2 and 5. But I want to skip the error of Line 5 because of expecting.
So I suppose how to write following.
And I can modify
src/rules/tag-pair.js
Would you consider it?
Thank you for your time.
The text was updated successfully, but these errors were encountered: