vuetifyjs / eslint-plugin-vuetify

An eslint plugin for Vuetify
Other
120 stars 22 forks source link

how to add the plugin in eslint.config.js #94

Closed sachinkmohan closed 3 months ago

sachinkmohan commented 3 months ago

I'm not using the old eslintrc.js instead eslint.config.js, which is the new standard recommended by eslint from version 9 onwards on their website https://eslint.org/docs/latest/use/configure/configuration-files. Not sure how to add this plugin to this list, just like I did for Vue 3.

Any help would be useful!

import pluginVue from "eslint-plugin-vue";

export default [
  ...pluginVue.configs["flat/essential"],
  ...pluginVue.configs["flat/recommended"],
  ...pluginVue.configs["flat/strongly-recommended"],
KaelWD commented 3 months ago

Duplicate of #93