forked from mirrors/gecko-dev
Bug 1609966 - Enable ESLint for services/sync/modules/constants.js. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D60280 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4fb4f2f900
commit
77a7218e90
2 changed files with 98 additions and 103 deletions
|
|
@ -250,9 +250,6 @@ services/common/kinto-offline-client.js
|
||||||
# Webpack-bundled library
|
# Webpack-bundled library
|
||||||
services/fxaccounts/FxAccountsPairingChannel.js
|
services/fxaccounts/FxAccountsPairingChannel.js
|
||||||
|
|
||||||
# Uses `#filter substitution`
|
|
||||||
services/sync/modules/constants.js
|
|
||||||
|
|
||||||
# Servo is imported.
|
# Servo is imported.
|
||||||
servo/
|
servo/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
// Process each item in the "constants hash" to add to "global" and give a name
|
// Process each item in the "constants hash" to add to "global" and give a name
|
||||||
var EXPORTED_SYMBOLS = [];
|
var EXPORTED_SYMBOLS = [];
|
||||||
for (let [key, val] of Object.entries({
|
for (let [key, val] of Object.entries({
|
||||||
|
|
||||||
// Don't manually modify this line, as it is automatically replaced on merge day
|
// Don't manually modify this line, as it is automatically replaced on merge day
|
||||||
// by the gecko_migration.py script.
|
// by the gecko_migration.py script.
|
||||||
WEAVE_VERSION: "1.76.0",
|
WEAVE_VERSION: "1.76.0",
|
||||||
|
|
@ -131,7 +130,6 @@ DEVICE_TYPE_DESKTOP: "desktop",
|
||||||
DEVICE_TYPE_MOBILE: "mobile",
|
DEVICE_TYPE_MOBILE: "mobile",
|
||||||
|
|
||||||
SQLITE_MAX_VARIABLE_NUMBER: 999,
|
SQLITE_MAX_VARIABLE_NUMBER: 999,
|
||||||
|
|
||||||
})) {
|
})) {
|
||||||
this[key] = val;
|
this[key] = val;
|
||||||
this.EXPORTED_SYMBOLS.push(key);
|
this.EXPORTED_SYMBOLS.push(key);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue