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
216 stars 9 forks source link

Add new "suggestions" option to `--level` flag #170

Open rrd108 opened 2 months ago

rrd108 commented 2 months ago

There are things like lazy loading components in nuxt or caching requests that we can not really detect. (this is an example)

But we can add a new suggestion option to the --level flag level where we can output this suggestions (applicable for nuxt or vue or js/ts)

suggestion is just an example name, if needed it can be replaced.

David-Pena commented 2 months ago

Would this be added as a different option of the level flag?

rrd108 commented 2 months ago

yes

David-Pena commented 2 months ago

Would this only work for Nuxt? or in the future we plan to add more suggestions about vue, js/ts?

rrd108 commented 2 months ago

Would this only work for Nuxt? or in the future we plan to add more suggestions about vue, js/ts?

No, not only for nuxt, that was just an example.

David-Pena commented 2 months ago

No, not only for nuxt, that was just an example.

I just updated the description for this issue so the contributors have all the information without having to scroll...