mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1366720 - ESLint simpletest and places-overlay environments don't export globals correctly when used outside of mozilla-central. r=mossop
MozReview-Commit-ID: 1Qj63qwjHoo --HG-- extra : rebase_source : c403ef765a1c0e0a9836270aca69089c6a42f1d4
This commit is contained in:
parent
a796d14d49
commit
1e0b8c246f
@ -76,5 +76,5 @@ function mapGlobals(fileGlobals) {
|
||||
module.exports = {
|
||||
globals: helpers.isMozillaCentralBased() ?
|
||||
mapGlobals(getScriptGlobals()) :
|
||||
helpers.getSavedEnvironmentItems("places-overlay")
|
||||
helpers.getSavedEnvironmentItems("places-overlay").globals
|
||||
};
|
||||
|
@ -53,5 +53,5 @@ function mapGlobals(fileGlobals) {
|
||||
module.exports = {
|
||||
globals: helpers.isMozillaCentralBased() ?
|
||||
mapGlobals(getScriptGlobals()) :
|
||||
helpers.getSavedEnvironmentItems("simpletest")
|
||||
helpers.getSavedEnvironmentItems("simpletest").globals
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "eslint-plugin-mozilla",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"description": "A collection of rules that help enforce JavaScript coding standard in the Mozilla project.",
|
||||
"keywords": [
|
||||
"eslint",
|
||||
|
Loading…
Reference in New Issue
Block a user