Open Bug 1513171 Opened 7 years ago Updated 3 years ago

ESLint should correctly handle the case of importScripts defining variables that are then marked as exported

Categories

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

enhancement

Tracking

(Not tracked)

People

(Reporter: standard8, Unassigned)

References

Details

Currently if we have: /* exported acorn */ importScripts("resource://devtools/shared/acorn/acorn.js"); ESLint still declares this as an unused variable. I think this is because we're marking the global as explicit and likely this is happening after the `exported` has already been processed. I think there may be another table we need to inject into in this case.
Depends on: 1507487
Product: Firefox Build System → Developer Infrastructure
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.