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

ESLint validation not working if VUE component script is located in separate file #1359

Closed
erik-sytnyk opened this issue Jul 10, 2018 · 0 comments

Comments

@erik-sytnyk
Copy link

Version

15.2.4

Reproduction link

https://bitbucket.org/yegor_sytnyk/vue_cli_eslint_bug/src/master/

Steps to reproduce

Move script part of vue component into separate JS file (HelloWorld.vue.js)

Reference in main component (HelloWorld.vue: <script src="./HelloWorld.vue.js'></script>)

Add code which violete ESLint rules

(using vue-cli)

original issue here: vuejs/vue-cli#1602 (comment)

What is expected?

o see warning/error report in a console (via vue-cli)

What is actually happening?

Nothing is reported (code is not checked)


The original issue was opened for vue-cli

as it was referenced by @Akryum, it seems to be vue-loader issue

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

No branches or pull requests

1 participant