Open Bug 1924775 Opened 10 months ago

ESLint browser globals need updating

Categories

(Developer Infrastructure :: Lint and Formatting, task, P3)

Tracking

(Not tracked)

People

(Reporter: standard8, Unassigned)

References

(Depends on 1 open bug)

Details

In bug 1921817 we are attempting to use ImageDecoder in a mochitest, but ESLint doesn't know about the global. The ImageDecoder global was added in version 15 of the globals module.

A couple of options here would be to:

  1. Override ESLint's included version of the globals module.
  2. Upgrade ESLint to v9 (this is in progress, but is a big change so is taking a while).

For now, we will explicitly define the global in the test file, we'll want to remember to tidy that up later.

You need to log in before you can comment on or make changes to this bug.