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

Avoid type modifiers on import names to support TS older than 4.5 #731

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

timostamm
Copy link
Member

TypeScript 4.5 added support for type modifiers on import names, but we need to avoid them in our code base for older versions of TypeScript that we intend to support.

This configures the rule consistent-type-specifier-style of the eslint "import" plugin to disallow type modifiers for import names.

Fixes #730.

@timostamm timostamm merged commit 11c271a into main Jul 27, 2023
2 checks passed
@timostamm timostamm deleted the tstamm/avoid-type-import-names branch July 27, 2023 10:24
@timostamm timostamm mentioned this pull request Aug 17, 2023
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 this pull request may close these issues.

Vue 2 build error
2 participants