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

feat: add babel parser and traverse and migrate some rules #448

Open David-Pena opened 2 weeks ago

David-Pena commented 2 weeks ago

Summary

Adds babel parser and traverse packages for AST parsing for some rules.

Description

Related Issues

Supports #368 Fixes #365 #364 #431

Type of Change

Screenshots (if applicable)

N/A

github-actions[bot] commented 2 weeks ago

logo Vue Mess Detector Analysis Results

PR Code Health Full Code Health

🚨 New Errors: 3 ⚠️ New Warnings: 4 ✅ Fixed Errors: 0 🔧 Fixed Warnings: 0 📝 Total Lines: 227 📁 Total Files: 2

New Issues ``` - src/rules/rrd/repeatedCss.ts: rrd ~ else conditions: else clauses found (1) 🚨 rrd ~ function size: function (checkRepeatedCss#14) is too long: 32 lines 🚨 rrd ~ magic numbers: magic numbers found (line #53 magic number: 3) 🚨 - src/rules/rrd/repeatedCss.test.ts: rrd ~ Long Githubissues.
  • Githubissues is a development platform for aggregating issues.