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

Can't get flat config working #41

Open
ryancwalsh opened this issue Dec 23, 2024 · 1 comment
Open

Can't get flat config working #41

ryancwalsh opened this issue Dec 23, 2024 · 1 comment

Comments

@ryancwalsh
Copy link

Canonical is my favorite ESLint ruleset!

Thanks so much for making it! ❤️😁

I'm now working at a new company that uses the flat config in a TS project, and I'm trying to introduce Canonical to the company.

I'm having a really tough time trying to get it working.

I saw in another issue you mentioned that the flat config is now supported.

We need to use the flat config rather than the old style of eslint configs.

But we have flexibility with what it contains.

So probably we want to just have it point to Canonical.

Can you please share a basic example of how to do it?

Our package.json has "type": "module".

Thank you so much for your amazing library!

@zachmayer
Copy link

I'd like to use flat config too

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