Open Bug 1773475 Opened 2 years ago Updated 2 years ago

Investigate turning on import/no-unresolved for directories where they have their own package.json

Categories

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

Tracking

(Not tracked)

People

(Reporter: standard8, Unassigned)

References

Details

Initial eslint-plugin-import support is being added in bug 1773472. For now, we are turning off the no-unresolved rule for some of the directories with their own package.json files, and we should investigate if we can turn this back on.

The main problem in these cases is that when running ESLint, we are not guaranteed to have installed the node_modules files for those directories, and hence the resolver fails to resolve the external modules it is seeing.

Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.