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

Question: Cannot pass the import/group-exports rule in ESLint. #233

Open
ryohiy opened this issue Oct 5, 2024 · 0 comments
Open

Question: Cannot pass the import/group-exports rule in ESLint. #233

ryohiy opened this issue Oct 5, 2024 · 0 comments

Comments

@ryohiy
Copy link

ryohiy commented Oct 5, 2024

Version: latest (v8.0.1)

When I run ESLint on the generated type definition files, I encounter an error due to the import/group-exports rule. Is there an option to generate the files in a way that would pass this rule, as shown below?

declare const text: string;
declare const textHighlighted: string;
export { text, textHighlighted }

Or, is disabling the lint rule or manually fixing the issue the only solution for now?

Thank you in advance for your help.

@ryohiy ryohiy changed the title Cannot pass the import/group-exports rule in ESLint. Question: Cannot pass the import/group-exports rule in ESLint. Oct 5, 2024
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

1 participant