Skip to content
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

(vue) TSLint is running on empty script tags #85

Closed
Toilal opened this issue Jan 10, 2018 · 3 comments · Fixed by #130
Closed

(vue) TSLint is running on empty script tags #85

Toilal opened this issue Jan 10, 2018 · 3 comments · Fixed by #130

Comments

@Toilal
Copy link

Toilal commented Jan 10, 2018

TSLint is running on empty script tag content, even when a src attribute is defined.

<template src="./App.html"></template>
<style scoped src="./App.css"></style>
<script lang="ts" src="./App.ts"></script>

This raises tslint errors for missing EOL

ERROR in C:/devel/projects/vue-ts-test/src/App.vue
(3,91): file should end with a newline
@BigForNothing
Copy link

I'm seeing this as well. If you move the closing </script> to the next line, it doesn't trigger the issue.

@Toilal
Copy link
Author

Toilal commented Jan 11, 2018

@BigForNothing It seems to be fixed with TSLint 5.9.1, can you confirm ?

@mildful
Copy link

mildful commented Jun 5, 2018

I'm running tslint 5.10.0 and still have this issue. I can also confirm that moving the closing </script> tag to the next slide fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants