vercel / style-guide

Vercel's engineering style guide
Mozilla Public License 2.0
1.25k stars 33 forks source link

ESLint flat config support #73

Open mrmckeb opened 11 months ago

mrmckeb commented 11 months ago

We plan to implement support for ESLint's new flat config format around the time that ESLint v9.0.0 launches. At that time, this will be the default config format for ESLint.

Until that time, anyone moving to v9.0.0 (or a pre-release) can set the ESLINT_USE_FLAT_CONFIG environment variable to false as a workaround.

The move to the flat config will be a breaking change in this package.

See this post for more: https://eslint.org/blog/2023/10/flat-config-rollout-plans/

mwskwong commented 5 months ago

Just wanna add that ESLint v9 has hit stable, with flat config being the default. It may be worth focusing on moving to flat config now