Skip to content

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

Closed
@erik-sytnyk

Description

Version

3.0.0-rc.2

Reproduction link

https://codesandbox.io/s/ly7ywz0409

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

What is expected?

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

What is actually happening?

Nothing is reported (code is not checked)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions