From b96c1109521a0c35507ce756aea543a4a912423b Mon Sep 17 00:00:00 2001 From: Jean Lauliac Date: Tue, 18 Dec 2018 04:06:47 -0800 Subject: [PATCH] metro-buck: only uses object to store modules Summary: MobileLab seems to point out that just using an object yields the same performance, but smaller memory usage: https://our.intern.facebook.com/intern/fblearner/details/89442096/. Plus, it simplifies the code. Reviewed By: fromcelticpark Differential Revision: D13450992 fbshipit-source-id: 87afccfbebdc533801f52cff367cf517611b4317 --- scripts/lint-config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/lint-config.js b/scripts/lint-config.js index 1265be137..0391d9452 100644 --- a/scripts/lint-config.js +++ b/scripts/lint-config.js @@ -48,7 +48,6 @@ module.exports = { fbt: true, requireWeak: true, xuiglyph: true, - __NUM_MODULES__: true, DebuggerInternal: true, define: true, // React