Open
Bug 1447034
Opened 7 years ago
Updated 6 months ago
Improve ESLint's detection of head.js files for xpcshell-tests (import-headjs-globals rule)
Categories
(Developer Infrastructure :: Lint and Formatting, enhancement, P2)
Tracking
(Not tracked)
NEW
People
(Reporter: standard8, Unassigned)
References
Details
Currently, if a xpcshell-test head file is not:
1) named "head*.js" or "xpcshell_head*.js" or
2) not in the same directory,
then we fail to locate it, and ESLint has to be told about it manually via import-globals-from.
We're already parsing the manifests when detecting if files are used in tests or not, so we can simply work out what the real head files are by using the information from the manifest.
Reporter | ||
Updated•7 years ago
|
Assignee: standard8 → nobody
Priority: P1 → P2
Updated•6 years ago
|
Version: Version 3 → 3 Branch
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
Updated•3 years ago
|
Severity: normal → S3
Reporter | ||
Updated•6 months ago
|
Summary: Improve ESLint's detection of head.js files for xpcshell-tests → Improve ESLint's detection of head.js files for xpcshell-tests (import-headjs-globals rule)
You need to log in
before you can comment on or make changes to this bug.
Description
•