vuetifyjs / eslint-plugin-vuetify

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

feature(rules): Eslint 9 and flat config support #98

Open corbinu opened 5 months ago

corbinu commented 5 months ago

Updates to eslint 9 and the new flat file config system

Resolves #93

lukas-mertens commented 4 months ago

@corbinu I think it would be nice to add some docs / an example on how to use the new flat config. You should probably adopt the README a bit

bryantmh commented 2 months ago

This PR appears to be working and has been sitting here for awhile. Any chance of getting it merged even as a beta? I'm currently working on updating a Vue 2 project to Vue 3 that's already on eslint 9, and have had to manually make some of these changes to get it working even in compat mode.

derHodrig commented 2 months ago

@KaelWD @johnleider could you please apply necessary steps to publish this as a beta version? So we the community can test it and bring it to some sort of release?

This tool might be very handy but is not usable for eslint 9 users. With a beta we could at least test it and if it works we could migrate faster, if not, no problem its beta. What's your opinion?

shimizukawa commented 2 months ago

FYI: I'm using this PR code in my project, applying it via @nuxt/eslint as follows.

install

yarn add https://github.com/corbinu/eslint-plugin-vuetify/

eslint.config.mjs

import vuetify from "eslint-plugin-vuetify/src/index.js";
import withNuxt from "./.nuxt/eslint.config.mjs";

export default withNuxt(
  {
    files: ['**/*.vue'],
    plugins: { vuetify },
    rules: {
      ...vuetify.configs.base.rules,
     'vuetify/no-deprecated-classes': '<SOME-VALUE>',
    },
  },
);
SmootherSpike commented 1 month ago

any updates when this will be merged? thanks for the updates and work

corbinu commented 1 month ago

Hello,

I am not going to be moving forward with using this plugin so if anybody else wants to take over the PR they are welcome to.

Corbin Uselton

shimizukawa commented 1 month ago

@corbinu I can take over, but what are the remaining tasks?

corbinu commented 1 month ago

@shimizukawa Here is the one request I was given. Sorry that I can't do this right now.

@corbinu I think it would be nice to add some docs / an example on how to use the new flat config. You should probably adopt the README a bit

shimizukawa commented 1 month ago

@corbinu OK, then. I'll submit another PR to update the documentation. @johnleider I think this PR can be merged without waiting for the documentation to be updated.

shimizukawa commented 1 month ago

@corbinu @johnleider I have created a PR #101 for documentation update. Please check it out.