ESLint v9.0
eslint.org
ESLint v9.0
1–10 of 49 posts
Re: ESLint v9.0
#2Re: ESLint v9.0
#3I tried to migrate a few nights ago but gave up for now as it was too many changes. I will give it another go this week on a full stomach.
Re: ESLint v9.0
#4It was pretty obvious years ago that eslint messed up how package names are referenced in configs, and how they're resolved. Did it really require such a big change that affects the whole ecosystem? Microsoft seemed to have a pretty good solution with https://www.npmjs.com/package/@rushstack/eslint-patch
Re: ESLint v9.0
#5I tried to migrate a few nights ago but gave up for now as it was too many changes. I will give it another go this week on a full stomach.
Re: ESLint v9.0
#6I tried to migrate a few nights ago but gave up for now as it was too many changes. I will give it another go this week on a full stomach.
So much of it is completely unnecessary breaking changes too. A good example is the config file, out of the box they no longer support using `.eslintrc.*` (you can still get this behavior back with a config flag), you're now expected to use `eslint.config.js` instead. So in short, they're just making every single project out there that relies on ESLint go and either add a flag or rename one file — for what?
Edit: Here’s some info about the gradual migration to flat config and deprecation of eslintrc: https://eslint.org/blog/2023/10/flat-config-rollout-plans/
It seems like it’s been well thought out.
Re: ESLint v9.0
#7Re: ESLint v9.0
#8Re: ESLint v9.0
#9any ES linter written in rust?
I don't think any of them support all the rules of eslint
Re: ESLint v9.0
#10any ES linter written in rust?
Check biome or oxlint. I don't think any of them support all the rules of eslint
I highly recommend people try it out and ditch the configuration nightmare that is eslint.