1

Remove Babel integration with ESLint

 7 months ago
source link: https://bugzilla.mozilla.org/show_bug.cgi?id=1878009
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Details

We originally had Babel integrated with ESLint due to wanting to be able to use some language features that were in development - they were ECMAScript stage 3 proposals, but had not got to stage 4. ESlint doesn't support new features until stage 4, so we used the Babel integration to work around that.

That has long since passed, and we have not had more cases of needing to use Babel in the interim. Whilst this may change in future, removing Babel gives a decent performance increase (1m 56 -> 1m 32 on my Mac M1 Pro). So for now, we've decided to remove it, we can always refer back and add it back in later if the need arises.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK