Nicolas S.Xu
Nicolas S.Xu

Reputation: 14544

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

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.

Upvotes: 18

Views: 16697

Answers (3)

Shallon Kobusinge
Shallon Kobusinge

Reputation: 565

setting useEslint: false, in

config/index.js

did the trick for me

Upvotes: 0

jakobinn
jakobinn

Reputation: 2032

If Vue generated a config file for your project, you can look inside the config\index.js file and change useEslint to be false, as such: useEslint: false

Upvotes: 0

Jente Van Heuverswyn
Jente Van Heuverswyn

Reputation: 129

  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

Upvotes: 12

Related Questions