Closed codeofsumit closed 7 years ago
as issued here, when I lint a vue single-file-component this one:
App.vue
<template> <div class="app" id="app"></div> </template> <script> import store from '../store'; import router from '../router'; export default { store, router, }; </script>
I get error Parsing error: Unexpected token < on line 1. That is always the case as soon as I add a script tag to the file.
error Parsing error: Unexpected token <
script
Is there anything I did wrong (config or something) or is this a bug?
nevermind, my mistake!
(I thought the Atom plugin will do everything for me but I forgot to manually add this plugin to the .eslintrc config.
.eslintrc
as issued here, when I lint a vue single-file-component this one:
App.vue
I get
error Parsing error: Unexpected token <
on line 1. That is always the case as soon as I add ascript
tag to the file.Is there anything I did wrong (config or something) or is this a bug?