Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to complete remove eslint in vue cli 3 generated project?

Tags:

vue.js

I am not interested in the stupid lint, which is not workable at all. It can do nothing but waste of my time.

I need a way to remove it and make sure ESLint will never appear again. What should I do? Please don't tell me to put a comment in my code to disable one warning. I need a solution to completely get rid of ESLint in vue cli 3 generated project.

like image 724
Nicolas S.Xu Avatar asked Aug 16 '18 00:08

Nicolas S.Xu


People also ask

How do I completely remove Eslint from vue project?

To disable ESLint in Vue CLI, we just remove the @vue/cli-plugin-eslint package from the Vue CLI project. to remove the @vue/cli-plugin-eslint package, which will disable ESLint in the Vue CLI project.

How do I remove Eslint from my project?

Basically, just delete . eslintrc and any other eslint config files(if any) from the project. Also, check your package. json and delete all eslint packages and do npm install on your project.


1 Answers

  1. Remove all references to eslint in package.json ("@vue/eslint-config-x" and "@vue/cli-plugin-eslint")
  2. Remove .eslintrc or eslintconfig in your project root dir
  3. run npm i
like image 81
Jente Van Heuverswyn Avatar answered Oct 17 '22 15:10

Jente Van Heuverswyn