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

chore(linting): update ESLint to latest minor version #6391

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

yhabib
Copy link
Contributor

@yhabib yhabib commented Feb 11, 2025

Motivation

Eslint introduced a new version, @9, early last year. They will stop supporting our version later this year. The new version includes some breaking changes that require additional work. For now, I'm updating it to the latest minor version.

Changes

  • Updates ESLint-related packages to the latest minor version.

Tests

  • Tests should pass as they did before.

Todos

  • Add entry to changelog (if necessary).
    Not necessary

@yhabib yhabib marked this pull request as ready for review February 11, 2025 07:43
@yhabib yhabib requested a review from a team as a code owner February 11, 2025 07:43
@yhabib
Copy link
Contributor Author

yhabib commented Feb 11, 2025

Note, there was a flaky test that I'll investigate separately https://github.com/dfinity/nns-dapp/actions/runs/13257588019/job/37007239568?pr=6391

@yhabib yhabib enabled auto-merge February 11, 2025 07:44
@yhabib yhabib disabled auto-merge February 11, 2025 07:44
@yhabib yhabib added this pull request to the merge queue Feb 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 11, 2025
@dskloetd dskloetd added this pull request to the merge queue Feb 11, 2025
@dskloetd
Copy link
Contributor

gh run download failed in the merge queue. I checked if it has a --retry flag but it doesn't seem to have one. Not sure what to do if GitHub can't even run gh run download from its own running without failing to connect :-(

Merged via the queue into main with commit babb3e2 Feb 11, 2025
32 checks passed
@dskloetd dskloetd deleted the yhabib/housekeeping/eslint branch February 11, 2025 09:55
github-merge-queue bot pushed a commit that referenced this pull request Feb 13, 2025
# Motivation

In #6391, the merge queue failed due to a flaky test. The investigation
revealed that the issue occurs when scrolling down to the button while
the skeleton is present. At other times, the component loads, and the
button moves out of the viewport, resulting in this strange behavior.

# Changes

- It waits for the component to render and for the skeleton to disappear
before clicking.

# Tests

- Should pass as before.

# Todos

- [ ] Add entry to changelog (if necessary).
Not necessary.
github-merge-queue bot pushed a commit that referenced this pull request Feb 17, 2025
# Motivation

We want to update ESLint to its latest version, as it is no longer
supported. This follows up on #6391, and it is important because
ESLint@8 is outdated.

![Screenshot 2025-02-15 at 11 30
43](https://github.com/user-attachments/assets/c6228b1b-6f13-4980-8348-82341828b486)

To minimize the necessary changes due to the differences in how some
rules apply now compared to before, I've overwritten certain rules. This
will be addressed in a follow-up.

# Changes

- Upgrades ESLint and relevant packages to the latest version.  
- Installs new required packages.  
- Removes packages that are no longer needed.  

# Tests

- Linting should pass as it did previously.

# Todos

- [ ] Add entry to changelog (if necessary).
Not necessary
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.

2 participants