-
Notifications
You must be signed in to change notification settings - Fork 95
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
Add: Eslint rule camelCase #4062
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. OpenSSF Scorecard
Scanned Manifest Files |
Conventional Commits Report
🚀 Conventional commits found. |
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.
Merging this PR will create a ton of warnings
It even results in failing linting at the CI because we treat warnings as errors. Should we allow warnings for now? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4062 +/- ##
==========================================
- Coverage 72.65% 72.25% -0.40%
==========================================
Files 1062 1064 +2
Lines 120912 121658 +746
Branches 5990 6002 +12
==========================================
+ Hits 87843 87899 +56
- Misses 33040 33728 +688
- Partials 29 31 +2 ☔ View full report in Codecov by Sentry. |
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! 👍🏻
e148f55
to
fe67b9a
Compare
What
Add eslint rule for
camelCase
variables.Why
Currently, there are over 5000 instances of non-camelCase variable names in our codebase. This not only goes against JavaScript conventions but also makes our code less readable and harder to maintain. By enforcing camelCase naming, we can gradually rectify this issue and prevent it from happening in the future.
References
Checklist