Skip to content

fix(frontend): resolve ESLint v10 lint errors blocking dependabot PR #4866 #5209

Description

@Adarshkumar0509

Community & Support: LinkedIn Group · Slack #project-nest

Active project leaders: Arkadii Yakovets -- GitHub · LinkedIn · Slack; Kate Golovanova -- GitHub · LinkedIn · Slack

Contributing · Code of Conduct · GSoC Mentors


Describe the bug

Dependabot PR #4866 bumps @eslint/js from 9.39.4 to 10.0.1. ESLint v10 introduces two new rules that are now failing lint:

  • no-useless-assignment in src/components/SkeletonsBase.tsx
  • preserve-caught-error in src/hooks/useLogout.ts

These need to be fixed for the PR to pass CI.
References: #4866

Are you going to work on fixing this?

  • Yes
  • No

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions