Skip to content

Investigate workflow job failing on main: lint / ESLint check #76374

@github-actions

Description

@github-actions

🚨 Failure Summary 🚨:

  • 📋 Job Name: lint / ESLint check
  • 🔧 Failure in Workflow: Process new code merged to main
  • 🔗 Triggered by PR: PR Link
  • 👤 PR Author: @zfurtak
  • 🤝 Merged by: @grgia
  • 🐛 Error Message:
    failure: Process completed with exit code 1.
    failure: Dependency "assignees" is too broad. Use specific properties instead: assignees.length
    failure: Dependency "availableOptions" is too broad. Use specific properties instead: availableOptions.recentReports, availableOptions.personalDetails, availableOptions.userToInvite
    warning: Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
    warning: Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
    warning: Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
    warning: Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
    warning: Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
    warning: Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
    warning: The 'transactionIDSet' object construction makes the dependencies of useCallback Hook (at line 47) change on every render. To fix this, wrap the initialization of 'transactionIDSet' in its own useMemo() Hook
    warning: React Hook useMemo has a missing dependency: 'includeCurrentUser'. Either include it or remove the dependency array
    warning: React Hook useMemo has an unnecessary dependency: 'illustrations.ExpensifyMobileApp'. Either exclude it or remove the dependency array
    warning: React Hook useEffect has a missing dependency: 'spreadsheet'. Either include it or remove the dependency array
    warning: Cache not found for keys: Linux-node-modules-02c323f566d8a9106d21a67fb8487b8be055fd1d78d963340c1c0675ae1f2c5d

⚠️ Action Required ⚠️:

🛠️ A recent merge appears to have caused a failure in the job named lint / ESLint check.
This issue has been automatically created and labeled with Workflow Failure for investigation.

👀 Please look into the following:

  1. Why the PR caused the job to fail?
  2. Address any underlying issues.

🐛 We appreciate your help in squashing this bug!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions