-
Notifications
You must be signed in to change notification settings - Fork 326
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
Replaces deprecated methods #6244
Replaces deprecated methods #6244
Conversation
Hi @milanholemans, could you please re-run the workflow? Seems like a random error. Thanks |
Thank you @MartinM85, we'll try to review it ASAP. |
Not sure right now, but the error on macos
Can be related to eslint-plugin-deprecation |
Hmm that's quite problematic. |
If it's failing our pipelines, and we can't fix it, we should consider something else. |
I have also encountered an issue with increased execution time of the linting. The CLI for M365 has a large code base, the performance of this plugin is really bad. In the worst case, we can get rid of the plugin eslint-plugin-deprecation and keep the refactored code. |
That's a pity. Like you mentioned, if we can't get it to work, we'll just review the refactored code. |
Plugin eslint-plugin-deprecation removed |
974af73
to
2b34143
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could it be that we're missing changes to .eslintrc.cjs where we enable the rule?
@waldekmastykarz eslint-plugin-deprecation was causing the error when running test on macos.
Similar to gund/eslint-plugin-deprecation#67 https://github.com/pnp/cli-microsoft365/actions/runs/10370949281/job/28746774555 and increased execution time of the linting, because the CLI for M365 has a large code base, the performance of this plugin is really bad. I only refactored deprecated functions. |
Thanks for clarifying. Let's update the PR's title to communicate this more clearly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job! The code is looking a lot better. I have a few comments here and there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing more to add!
Merged manually. Thanks for the fix! |
Closes #6237