8 ms·
Yes, eslint is particularly frustrating: https://npmgraph.js.org/?q=eslint https://npmgraph.js.org/?q=eslint There are plenty of people in the community who wo
by benmccann 1y ago
Yes, eslint is particularly frustrating: https://npmgraph.js.org/?q=eslint https://npmgraph.js.org/?q=eslint
There are plenty of people in the community who would help reduce the number of dependencies, but it really requires the maintainers to make it a priority. Otherwise the only way to address it is to switch to another solution like oxlint.
- dmix 1y agoI tried upgrading ESLint recently and it took me forever to fix all the dependency issues. I wish I never used ESLint prettier as now my codebase styling is locked into an ESLint config :/
- azemetre 1y agoHave you looked into biome? We recently switched at work. It’s fine and fast. If you overly rely on 3rd party plugins it might be hard but it covered our use case fine for a network based react app. Way less dependencies too.
- dmix 1y agoEven minor styling rule changes would result in a huge PR across our frontend so I tend to avoid any change in tooling. But using old tools is not the end of the world. I only upgrade ESLint because I had to upgrade something else.
- adhamsalama 1y agoWould omitting this commit from git blame solve the issue?
- dmix 1y agoOh that's a great idea. I forgot about git --ignore-revs
- WorldMaker 1y agoDeno has a similar formatter to prettier and similar linter to eslint (with Typescript plugins) out-of-the-box. (Some parts of those written in Rust.) I have been finding myself moving to Deno more and more. I also haven't noticed too many reformatting problems with migrating from prettier to Deno. (If there are major changes, you can also add the commit to a .git-ignore-revisions file.)
- user34283 1y agoThat's like 85 dependencies, not hundreds or even thousands. Jest pulls in 300 by the way.