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

Unclear docs on how to use this with FlatESLintConfig #157

Closed
AndreaPontrandolfo opened this issue Dec 10, 2022 · 2 comments · Fixed by #158
Closed

Unclear docs on how to use this with FlatESLintConfig #157

AndreaPontrandolfo opened this issue Dec 10, 2022 · 2 comments · Fixed by #158

Comments

@AndreaPontrandolfo
Copy link

AndreaPontrandolfo commented Dec 10, 2022

PROBLEM

I'm trying to use this in my FlatConfig, but without success. Looking at the latest PRs, this should be supported, but in the docs there is no such mention, even less so an explanation for complex usage.
For reference, this is where i'm trying to use it: https://github.com/AndreaPontrandolfo/sheriff/blob/master/configs/eslint.config.js

PROPOSED SOLUTION

Expand the docs on how to use this with the FlatConfig, also for complex usage.

@Shinigami92
Copy link
Collaborator

@sxzz is responsible for the flat-config support

@sxzz
Copy link
Collaborator

sxzz commented Dec 10, 2022

It's pretty easy. Use defineFlatConfig then works

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

Successfully merging a pull request may close this issue.

3 participants