You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<template>
..some HTML
</template><script>
..some JS (linting does not work)
</script><style>
..some CSS
</style>
The linter-js-standard does not work when there is another tag on the same line as the closing </script> tag. It works only if the <style> tag starts with the new line, so that </script> has no tags after it in line). Would be good if fixed.
The text was updated successfully, but these errors were encountered:
vbgm
changed the title
Add support for Vue files (similar to html)
Within thml allow process script tags that do not start from new line
Jan 4, 2018
vbgm
changed the title
Within thml allow process script tags that do not start from new line
Within html allow process script tags that do not start from new line
Jan 4, 2018
vbgm
changed the title
Within html allow process script tags that do not start from new line
Within html allow to process script within tags that do not start from new line
Jan 4, 2018
vbgm
changed the title
Within html allow to process script within tags that do not start from new line
Not working in html (vue), when </script> tag has another tag in line
Jan 4, 2018
Long-term, I’m thinking of integrating eslint-plugin-html. I’ve actually already started working on it, however, it turned out to be more difficult than I initially thought.
Either way, I’m also open to a pull request if anyone has a quick fix for the html-splitter.js.
When writing in *.vue format (https://vuejs.org/v2/guide/single-file-components.html), to have a cleaner view, I unite end of previous tag with the
<script>
tag in one line, for example:The
linter-js-standard
does not work when there is another tag on the same line as the closing</script>
tag. It works only if the<style>
tag starts with the new line, so that</script>
has no tags after it in line). Would be good if fixed.The text was updated successfully, but these errors were encountered: