vuetifyjs / eslint-plugin-vuetify

An eslint plugin for Vuetify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<v-subheader> replaced by <[object Object]> when also using plugin:nuxt/recommended

scscgit opened this issue · comments

.eslintrc.js

module.exports = {
  extends: ["plugin:nuxt/recommended", "plugin:vuetify/base"],
};

Template in a .vue file contains:

<v-subheader> </v-subheader>

When running lintfix ("lint:js": "eslint --ext .js,.ts,.vue --ignore-path .gitignore .", "lintfix": "npm run lint:js -- --fix"), it gets replaced by:

<[object Object]> </[object Object]>

VS Code popup:

image

Used versions:

"eslint-plugin-nuxt": "^4.0.0",
"eslint-plugin-vuetify": "^2.0.0-beta.3",