eslint-plugin-vuetify icon indicating copy to clipboard operation
eslint-plugin-vuetify copied to clipboard

feature(rules): Eslint 9 and flat config support

Open corbinu opened this issue 10 months ago • 10 comments

Updates to eslint 9 and the new flat file config system

Resolves #93

corbinu avatar Apr 20 '24 05:04 corbinu

@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

lukas-mertens avatar Jun 04 '24 20:06 lukas-mertens

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.

bryantmh avatar Jul 09 '24 17:07 bryantmh

@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?

derHodrig avatar Jul 30 '24 08:07 derHodrig

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>',
    },
  },
);

shimizukawa avatar Jul 31 '24 02:07 shimizukawa

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

SmootherSpike avatar Aug 13 '24 05:08 SmootherSpike

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

corbinu avatar Aug 13 '24 18:08 corbinu

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

shimizukawa avatar Aug 14 '24 23:08 shimizukawa

@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

corbinu avatar Aug 15 '24 00:08 corbinu

@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 avatar Aug 16 '24 00:08 shimizukawa

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

shimizukawa avatar Aug 19 '24 08:08 shimizukawa