Open te1 opened 8 years ago
In theory, this should work out of the box by providing "Extra eslint options" in settings with
--ext=.js,.vue
.
Unfortunately though, it doesn't, or at least I can't figure out a way to write those options (above doesn't seem to do anything).
I am seeing a similar issue with .ts
and .tsx
files. (ESLint works as expected with Typescript when only using types)
Similarly I need this as an option for .ts
and .tsx
.
I see this has been open for over a year. Any hope of adding this?
Would it be possible to add support to run ESLint on JavaScript in other file types like
.html
and more importantly.vue
? Both allow use of JavaScript in<script>
tags.There are already ESLint plugins to enable this functionality but it seems there is no support for ESLint plugins (see #46).
References: https://github.com/BenoitZugmeyer/eslint-plugin-html https://github.com/Twiknight/eslint-plugin-vue http://vuejs.github.io/vue-loader/start/spec.html