-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add babel parser and traverse and migrate some rules #448
base: main
Are you sure you want to change the base?
Conversation
…ion definition (supports #368)
Vue Mess Detector Analysis Results🚨 New Errors: 3 New Issues
🔍 Download Full Analysis Details For any issues or feedback, feel free to report them here. |
commit: |
@David-Pena there are too many conflicts to fix manually. Can you just delete and regenrate the lock file? |
Oh no worries, I will. I'll be sitting in front of this issue this weekend🫡 |
@David-Pena can you check the failing tests and update |
I'm back 👨🏼💻 |
…to david/feature/babel-parser
Vue Mess Detector Analysis Results🚨 New Errors: 0 🔍 Download Full Analysis Details For any issues or feedback, feel free to report them here. |
did the tests passed on your end? |
Still debugging... I'm getting an error |
Ah ok. I thought it is ready to merge and then I saw the failing tests. No worries, take your time. It is ok if it is ready only next year. |
The weird thing is that the specific tests for each of the changed rules pass! and the traverse logic is working because its logging something I just add The output says this: I'm not sure if its because the |
Try to run build and then run the test |
Done it already and the same... would you mind moving to my branch and try to build then run the tests? I shouldnt need to use another parser I think... (but I'm kind of stuck) |
Oh for the screenshot I showed you I commented the parameterCount and functionSize rule in ruleCheck/ruleReport and the array of rules because my plan was to debug first one of the changed rules And I printed the entire response, not only the stdout, I think that way I found the |
Summary
Adds babel parser and traverse packages for AST parsing for some rules.
Description
functionSize
refactored with babelparameterCount
refactored with babelcomputedSideEffects
refactored with babel/helpers
Related Issues
Supports #368
Fixes #365 #364 #431
Type of Change
Screenshots (if applicable)
N/A