[Vuejs]-How to set up eslint configuration for vue3 + vite 3 project?

0👍

The only thing I can say is that you have this:

"plugin:vue/vue3-essential", 
"plugin:vue/vue3-strongly-recommended",
"plugin:vue/vue3-recommended"

According to eslint-plugin-vue vue3-strongly-recommended includes vue3-essential. Also, vue3-recommended includes all. Which means that you might have duplicated the rules.

My advise is to use a ready eslint configuration like:

  • XO: General eslint rules (not specific to vue).
  • @antfu/eslint-config: A sharable eslint config with vue, react and typescript support.
  • @kalimahapps/eslint-config: (Disclaimer: I am the owner of this package). A sharable eslint config with vue and typescript support.

Leave a comment