Open dec0dOS opened 1 year ago
Thanks!
Need to check whether all the configs that eslint-config-hardcore extends from support the new format.
Sorry, it seems like that's a duplicate of https://github.com/EvgenyOrekhov/eslint-config-hardcore/issues/726 It is possible to use a compatibility layer as described here: https://www.raulmelo.me/en/blog/migration-eslint-to-flat-config#official-utility-for-the-rescue
Good article, by the way. I really recommend that one.
Now eslint 9.0 released
@EvgenyOrekhov any update on this one
@The-Code-Monkey I don't have the capacity to maintain both config formats, so I'll migrate to flat config as soon as TypeScript ESLint v8 gets released and https://github.com/Shopify/web-configs/issues/425 gets fixed. Or maybe even remove Shopify plugin temporarily, if they take longer.
Ok that's fine I was just curious, thanks for maintaining
On Mon, 10 Jun 2024, 01:51 Evgeny Orekhov, @.***> wrote:
@The-Code-Monkey https://github.com/The-Code-Monkey I don't have the capacity to maintain both config formats, so I'll migrate to flat config as soon as TypeScript ESLint v8 gets released and Shopify/web-configs#425 https://github.com/Shopify/web-configs/issues/425 gets fixed. Or maybe even remove Shopify plugin temporarily, of they take longer.
— Reply to this email directly, view it on GitHub https://github.com/EvgenyOrekhov/eslint-config-hardcore/issues/830#issuecomment-2156968307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHOFWX7BZVN4HDIAFOYU2RTZGT2BFAVCNFSM6AAAAAA6K7XC32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWHE3DQMZQG4 . You are receiving this because you were mentioned.Message ID: @.***>
TypeScript ESLint 8.0.0 has been released. https://github.com/Shopify/web-configs/issues/425 isn't closed but they did migrate to flat config.
Interested in this as well. It seems like all the barriers should have been removed now.
I second the need for an example of this new format in the doc, seems pretty intricate to me.
Hello! First of all, I want to express my appreciation for your fantastic project! It's great to see the effort and dedication put into it.
One aspect that I'd like to discuss is the configuration format used in eslint-config-hardcore. Currently, it employs a legacy configuration format that might not be as flexible and composable as the new format. This happens to be the main obstacle preventing me from using eslint-config-hardcore.
The ESLint Flat config is a significant improvement for the ecosystem, and it's encouraging to know that the transition from the legacy format is on the horizon. For more information about this exciting development, you can check out the following resources: https://eslint.org/docs/latest/use/configure/configuration-files-new https://eslint.org/blog/2023/10/flat-config-rollout-plans https://www.raulmelo.me/en/blog/migration-eslint-to-flat-config https://github.com/eslint/eslint/issues/3458 https://github.com/eslint/eslint/issues/10643 https://github.com/eslint/eslint/issues/13481
ESLint v9 migration:
"enforceForClassMembers": true
option fromno-useless-computed-key
rule (it's the default in v9)