-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
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
Eslint validates node_modules, throws errors #1695
Comments
Hm, that is strange. What happens if you try to remove |
It works fine then, but I have noticed similar issues with other packages. I will send further information shortly. |
I have a similiar issue with the 'vue-credit-card-field' package. I added a reproduction under the 'test2' page. |
Can you please try to disable all these lines one by one and tell which one causes this fail? https://github.com/wemake-services/wemake-vue-template/blob/master/template/.eslintrc.js#L7-L16 |
Even after commenting out all these lines, the error still persists. I also commented out https://github.com/wemake-services/wemake-vue-template/blob/master/template/nuxt.config.ts#L123-L128, as an attempt to completely dissable eslint. This explains how eslint is supposed to be implemented in nuxt.js. However, even after commenting this implementation out, eslint is still active. From my current understanding this means some third party (plugin) runs eslint. But this third party doesn't seem to be properly setup, as th .eslintingore file is (ironically) ignored. |
@Tobjoern I have copied your repo and tried to reproduce:
I don't have any issues. |
I'm sorry, I didn't explain properly. |
It looks like that this is not |
Hm okay, and how can one resolve this issue? |
There are two ways AFAIK:
Feel free to post your solution! |
Thanks for the solution, I thought it was eslint! |
I have some trouble using the '@minogin/vue-drag-resize-rotate' with the template.
After installing it, eslint throws various errors (and checks the module for errors), claiming the module is not installed, which is not the case. I am not an eslint expert, it could very well be that there is a bug with eslint, but I don't know.
I used the latest versions of all modules.
Reproduction:
https://github.com/Tobjoern/wemake-import-issue
Thanks for your help.
The text was updated successfully, but these errors were encountered: