Skip to content

refactor: using eslint-config-neon on mainlib #10876

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

Open
wants to merge 50 commits into
base: main
Choose a base branch
from

Conversation

Qjuh
Copy link
Member

@Qjuh Qjuh commented May 2, 2025

Please describe the changes this PR makes and why it should be merged:

Removes the old-style .eslintrc.json and the custom configuration for mainlib discord.js to instead use the global eslint.config.js using eslint-config-neon style with only few of our customizations.

This is semver minor because it moved the anonymous findName function to the named findName() in Util.js and we export all methods from that file. The export of all methods of Util.js has been changed to only export a handpicked selection now, so no longer semver minor.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating
  • This PR changes the library's interface (methods or parameters added)

Copy link

vercel bot commented May 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview May 27, 2025 7:43pm
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview May 27, 2025 7:43pm

@Qjuh Qjuh marked this pull request as ready for review May 3, 2025 14:45
@Qjuh Qjuh requested review from a team and iCrawl as code owners May 3, 2025 14:45
@Qjuh Qjuh requested review from vladfrangu, kyranet and SpaceEEC May 3, 2025 14:45
@github-project-automation github-project-automation bot moved this from Todo to Review in Progress in discord.js May 3, 2025
Copy link

codecov bot commented May 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.69%. Comparing base (2c35084) to head (6260282).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10876   +/-   ##
=======================================
  Coverage   42.69%   42.69%           
=======================================
  Files         262      262           
  Lines       16099    16099           
  Branches     1548     1548           
=======================================
  Hits         6874     6874           
  Misses       9213     9213           
  Partials       12       12           
Flag Coverage Δ
brokers 31.41% <ø> (ø)
builders 80.49% <ø> (ø)
collection 100.00% <ø> (ø)
core 0.89% <ø> (ø)
formatters 99.63% <ø> (ø)
proxy 65.88% <ø> (ø)
rest 87.80% <ø> (ø)
util 43.28% <ø> (ø)
utilities 100.00% <ø> (ø)
voice 70.90% <ø> (ø)
ws 36.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Qjuh Qjuh requested a review from vladfrangu May 25, 2025 15:10
@Qjuh Qjuh requested a review from Jiralite May 26, 2025 05:35
@almeidx
Copy link
Member

almeidx commented May 26, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Review in Progress
Development

Successfully merging this pull request may close these issues.

8 participants