Skip to content
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

Fix CodeClimate ESLint warnings #12546

Closed
wants to merge 6 commits into from

Conversation

xrgman
Copy link
Contributor

@xrgman xrgman commented Mar 29, 2022

Summary

This pull requests fixes most of the ESLint warnings generated on CodeClimate.
I might have missed a few, but most should be solved now.

Test Plan

Tried to find as many of the uses of these JavaScript files in the project as possible, where I tested the behavior of the function before and after the made changes. I couldn't find all though, but the changes are so minor that I don't forsee any issues.

Additional Information

I made these changes in favor of improving the code quality of Netdata even further.
It are mostly minor changes, like removing a trailing comma.

@xrgman
Copy link
Contributor Author

xrgman commented Mar 29, 2022

I am a bit at a loss as to why my changes result in these complexity issues. I haven't dealt with such issues before unfortunately :(

Would it be possible to get some help on this point? :)

@ilyam8
Copy link
Member

ilyam8 commented Aug 13, 2022

Not applicable anymore. If there are any suggested changes to the dashboard code - should be a PR in https://github.com/netdata/dashboard.

@ilyam8 ilyam8 closed this Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants