Skip to content

Conversation

wjrosa
Copy link
Contributor

@wjrosa wjrosa commented Aug 20, 2025

Source PR #4264

Changes proposed in this Pull Request:

As part of the Node 20 upgrade project, this PR extracts most of the required lint fixes from the source PR (#4264). The changes here are compatible with both versions (16 and 20).

Basically, spacing of JS docblock parameters and moving function definitions before their usage.

Testing instructions

  • Code review
  • Check if the frontend tests and lint validations are still passing
  • Checkout to this branch on your test environment (add/node-20-upgrade-lint-fixes)
  • Confirm you can build the frontend files: npm run build:webpack
  • Perform some basic smoke testing to confirm everything is working fine

  • Covered with tests (or have a good reason not to test in description ☝️)
  • Tested on mobile (or does not apply)

Changelog entry

  • This Pull Request does not require a changelog entry. (Comment required below)
Changelog Entry Comment

Comment

Post merge

@wjrosa wjrosa self-assigned this Aug 20, 2025
@wjrosa wjrosa marked this pull request as ready for review August 20, 2025 10:58
@wjrosa wjrosa marked this pull request as draft August 20, 2025 11:13
@wjrosa wjrosa marked this pull request as ready for review August 20, 2025 11:42
@wjrosa wjrosa requested review from a team, annemirasol and malithsen and removed request for a team August 20, 2025 11:43
Copy link
Contributor

@malithsen malithsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

Commented on a couple of instances where we seem to exceed the intended scope of this PR but they are not necessarily merge blockers.

Copy link
Contributor

@malithsen malithsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.

✅ Linter runs with no errors on node 16.18.0 and 20.18.1
npm run build:webpack runs on node 16 with no errors ( It fails on 20 but that's not a focus of this PR)
✅ Smoke tests

@wjrosa wjrosa added this to the 9.9.0 milestone Aug 21, 2025
Copy link
Contributor

@annemirasol annemirasol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can only test with node 16. node 20 fails setup for me.

✅ npm run lint:js
✅ npm run build:webpack
✅ Did not find any functional changes on visual code inspection. I did notice we removed some dependencies from a couple of useSelects, but it looks like they were stable fields anyways.

@wjrosa wjrosa merged commit 1ba4b15 into develop Aug 22, 2025
39 of 40 checks passed
@wjrosa wjrosa deleted the add/node-20-upgrade-lint-fixes branch August 22, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants