We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<script>
If a .vue file contains no <script> tag, eslint would throw following error:
Module build failed: TypeError: Cannot read property 'forEach' of undefined
This is the consequence of sending an empty array as default text set to eslint.
preprocess: function (text, filename) { ... return [] }
https://github.com/Twiknight/eslint-plugin-vue/blob/master/lib/processors/vueProcessor.js#L17
The text was updated successfully, but these errors were encountered:
b7cf446
Sorry, something went wrong.
fix issue 1
Twiknight
No branches or pull requests
If a
.vue
file contains no<script>
tag, eslint would throw following error:This is the consequence of sending an empty array as default text set to eslint.
https://github.com/Twiknight/eslint-plugin-vue/blob/master/lib/processors/vueProcessor.js#L17
The text was updated successfully, but these errors were encountered: