Metriche repository
- Star
- (9 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
I've realised that in my goal to have an opinionated config that leaves little room for disagreement, the config has slowly gotten to a point that even running eslint locally (without cache) on this project itself, it takes 14 seconds to run.
I have explored the ideas of natively adding support for oxc by disabling equivalent rules, but the overhead of setting up tsc + eslint for example did not seem to bring much of an improvement, and I do not like the current json oxc project files. I tried to improve some speed increases, e.g. to prettier using the oxc parser (which did increase prettier speed by about 15% in my cases), but this seems to have broken the jsdoc prettier plugin, so for now this has been turned off again.
I'm curious if there is any good ways to improve performance, if there are any egregious rules that may not be beneficial for the cost performance they bring (sonar/no-commented-code is an example of this, but we somewhat bypass this by turning it off in editor).
I'm not necessarily looking for easy wins, but an accumulation of little changes could potentially benefit a lot. The shopify plugin (I believe) has some slowdown, so I am in the process of phasing out these rules.