Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support eslint flat-config #140

Open
Tracked by #12
GNRSN opened this issue Sep 2, 2023 · 1 comment
Open
Tracked by #12

Support eslint flat-config #140

GNRSN opened this issue Sep 2, 2023 · 1 comment

Comments

@GNRSN
Copy link

GNRSN commented Sep 2, 2023

Is your feature request related to a problem? Please describe.
We're opting in to the new eslint flat config which includes many benefits, for our case especially as it allows extending lint-configs in a monorepo without having to install the plugins everywhere. Something which previously required a patch from Microsoft rushstack

Describe the solution you'd like
For eslint-plugin-storybook to offer flat-config versions of the included configs, e.g. recommended and csf-strict

Describe alternatives you've considered
I am currently re-mapping the properties of the configs to work with the flat-config object/array, but this might break with any new version os eslint-plugin-storybook

Additional context
See the eslint documentation for info about flat config. The feature has been in development preview since last year and is now considered stable. From my understanding it will soon be the new standard moving forward.

@osmestad
Copy link

Duplicate of #135 I think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants