gxmari007 / vite-plugin-eslint

🚨 ESLint plugin for vite
MIT License
266 stars 44 forks source link

add support for eslint 8.x #22

Closed pzmosquito closed 2 years ago

ModyQyW commented 2 years ago

I try to add support for eslint@8 in @modyqyw/vite-plugin-eslint.

ramicohen303 commented 2 years ago

Is there an update on this? npm install fails when using eslint 8.x.

bastianpaetzold commented 2 years ago

@ramicohen303 You can install version 1.3.0 with eslint 8.x as it didn't have eslint ^7.0.0 specified as peer dependency. Of course this still doesn't solve the support problem, but it works at least for me for some time now without issues. At least I didn't notice any

michaelpumo commented 2 years ago

You can get this going with ESLint 8 by running npm i --force ...but then that's probably not wise in every situation.

ghost commented 2 years ago

Latest version (1.5.1) still lists eslint 7 as a peer dep. Forcing the install doesn't appear to have any negative impact in my case, but would be nice to have eslint 8 support.

gxmari007 commented 2 years ago

fixed this warning