Static GitHub Issues

[2097] How can I remove ESLint from an existing Nuxt app?

prev: Extending the VueRouter instance
next: tailwind example is misleading

I used this template: https://github.com/nuxt-community/express-template

But ESLint really isn't working for me:

  1. It's full of bugs. E.g. it claims that I need to remove commas in the index.js file in the store even though removing the commas clearly breaks the code. My current problem is that it keeps telling me that v-model does not support dynamic input types. Use v-if branches instead. even though the same code works perfectly fine if I try it on fiddle. I don't even know what kind of rule I should add to stop ESLint from complaining about this.

  2. ESLint is absurdly annoying. Why do I get this popup/layover when there is an error and I can't hide it? It's just bizarre how patronizing it is given that it isn't even working properly. Also ESLint really isn't user friendly, configurating it takes far too much time and often doesn't even work. E.g. I added a .eslintignore file and changed in the package.json the script to "lint": "eslint --ext .js,.vue --ignore-path .eslintignore ." following this advice and what ESLint states on their website, but it didn't work.

  3. Because I already wasted hours due to ESLint I tried disabling it completely but even that doesn't seem to work. Here a user recommends commenting out the content of extend under build in the nuxt.config.js file but that doesn't work as I still get the same (incorrect) error message.

So how can I remove ESLint or at least disable it without having to complete rebuild the entire app, as the template above is otherwise quite useful?

Also sorry for the rant but I don't understand why ESLint is included in Nuxt. I really liked Nuxt and the whole concept of Nuxt and Vue seem to be to make things easy and effective to use, but ESLint seems to be the complete opposite. And it's not even that I am against the idea behind ESLint, but ESLint itself just doesn't seem to be a good tool.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1861">#c1861</a>)</em></sub></div>