rrd108 / vue-mess-detector

A static code analysis tool for detecting code smells and best practice violations in Vue.js and Nuxt.js projects
MIT License
184 stars 6 forks source link

add rule (rrd) don't use axios or fetch in nuxt #144

Open rrd108 opened 1 month ago

rrd108 commented 1 month ago

useFetch, useAsyncData and $fetch is the suggested way for fetching

sagi-daniel commented 1 month ago

@rrd108 @David-Pena I’ll take this, if you don’t mind. However, I need to brush up on my Vue knowledge regarding fetching, and I won’t be able to start until Monday.

David-Pena commented 1 month ago

No rush at all, go ahead!

rrd108 commented 1 month ago

This one is about detecting if axios is imported or fetch is used.

Which vue/nuxt solution to use is more tricky, but we offer only a general solution anyway.

David-Pena commented 3 weeks ago

Hi @sagi-daniel let us know if you need any help with this issue 🙌

sagi-daniel commented 3 weeks ago

Hi @sagi-daniel let us know if you need any help with this issue 🙌

Honestly, I’m a bit overloaded, so I haven't had enough time to solve this issue. I’ll probably solve it later this month, but of course, if anyone feels up to it, feel free to take it on.

David-Pena commented 3 weeks ago

Don't feel rush @sagi-daniel

I just wanted to make sure you are not stuck because of not understanding the issue.

I hope your workload gets better 🙇🏼