@Moon oh god that reminded me of a time a stupid american corp I worked at decided to just drop-in and enforce AirBNB eslint rules that, amongst a whole lot of other stupid shit, enforced maps instead of loops etc. The performance of the data digest tool my team was responsible for dropped to 30%. Who woulda thunk.
At least when presented with this outcome they relented and allowed us to override the worst offenders, but there certainly was some classic front-end "dev team performance is more important than product performance" cringe in the process.