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

Export types for use in flat configs #2246

Closed
Logicer16 opened this issue Dec 29, 2023 · 1 comment
Closed

Export types for use in flat configs #2246

Logicer16 opened this issue Dec 29, 2023 · 1 comment
Labels
enhancement types Issues that happen in TypeScript or that require types

Comments

@Logicer16
Copy link
Contributor

Logicer16 commented Dec 29, 2023

The flat eslint config format imports plugins as modules. This now allows typing to be enforced in these config files.

To help users avoid having issues like ts(7016), type definitions should be included in this plugin or distributed through DefinitelyTyped. Examples can be found in @eslint/js, eslint-plugin-prettier (1) (2), and eslint-plugin-n.

@fregante fregante added the types Issues that happen in TypeScript or that require types label Feb 10, 2024
@yukulele
Copy link

yukulele commented Jul 2, 2024

fixed by #2382

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement types Issues that happen in TypeScript or that require types
Projects
None yet
Development

No branches or pull requests

4 participants