Bug 1340498 - Add new globals to lint config
MozReview-Commit-ID: 360gup8cWvi
--- a/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js
+++ b/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js
@@ -36,16 +36,19 @@ module.exports = {
// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/InternalError
"InternalError": true,
"KeyEvent": false,
"MatchGlob": false,
"MatchPattern": false,
"MatchPatternSet": false,
"MenuBoxObject": false,
// Specific to Firefox (Chrome code only).
+ "PlacesObservers": false,
+ "PlacesWeakCallbackWrapper": false,
+ // Specific to Firefox (Chrome code only).
"SharedArrayBuffer": false,
"SimpleGestureEvent": false,
// Note: StopIteration will likely be removed as part of removing legacy
// generators, see bug 968038.
"StopIteration": false,
"StructuredCloneHolder": false,
"WebAssembly": false,
"WebExtensionContentScript": false,