Eslint and VueJS files. Throwing errors but not fi

2019-08-01 11:13发布

I have a strange issue with Eslint. It is throwing errors on Vue files, but not fixing any of them.

I have checked all config etc.

It is working for js files, but not working for Vue files. It is really strange that it is throwing errors on them, but not fixing them. It is all about easy fixes like semicolons etc (just moved to ES6 and Eslint so need to clean up code) so it easily fixing them normally.

What can be the cause?

1条回答
你好瞎i
2楼-- · 2019-08-01 11:57

I found why. Basically, ESLINT is not able to fix errors when using any loaders. In my case it is vue loader. They are still working on that in ESLINT team to find the way to handle fix with loaders.

查看更多
登录 后发表回答