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
188 stars 6 forks source link

add rule (rrd): function size #2

Closed rrd108 closed 2 months ago

rrd108 commented 4 months ago

functions must be shorter than 20 lines

David-Pena commented 2 months ago

Hi @rrd108

I have a question, is there a structure or logic to follow when building console.log output?

rrd108 commented 2 months ago

You can check the output but they follow the same pattern. The only difference is we use red marking if it is considered an error and yellow if it is a warning.

David-Pena commented 2 months ago

Hi @rrd108 I created this PR #59 for this issue

David-Pena commented 2 months ago

Hi @rrd108 , #59 was merged so lets close this issue to not fill up the issues tab 👨‍💻