Lint .html templates
See original GitHub issueHi,
How can I help to make this plugin support .html files that I am using for templates. That is possible with vue-template-loader.
Very similar issue #489 was created recently and maybe it is the same but I don’t know for sure since I don’t want to have .vue file at all.
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:10 (2 by maintainers)
Top Results From Across the Web
djLint: HTML Template Linter and Formatter
Find common syntax errors, reformat to make your HTML templates shine! Supports django, jinja, nunjucks, twig, handlebars, mustache, golang, and more!
Read more >Is there way to lint *.component.html files? · Issue #142 - GitHub
Inline template are lint well. But when i open *.component.html buffer, it doesn't work. Is there any way to lint *.component.html files?
Read more >How to lint Angular *.html files from command line?
I would like to lint html angular template files via the command line, similar to: ng lint. I would like to validate the...
Read more >i18n-lint - GitHub Pages
i18n-lint, tool for linting HTML and template source files for hardcoded string.
Read more >template-lint - npm
The intended goal of this work is to sanity check your template html during the development cycle to highlight potential problems. This project ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi’
We also need support for this scenario. We are recently migrated our code base from Vue 1 to Vue 2 and we created simple vue files like this for now:
This works well. But eslint vue plugin won’t check the referenced
template.htmlnor theindex.js. The latter can be fixed though via adding the// @vue/componentcomment above the component definition. Maybe the same can be done with templates as well eg:If this could be supported that would be really helpful.
The best option would be (if possible) to check vue files as is no matter if it uses references or the content defined there.
Sorry guys, but due to technological concerns and potential problems discovered in here we have to postpone this request indefinitely, thus I’m going to close this issue for now.