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

Add a typescript linting rule to enforce commas between types #2190

Open
supermii2 opened this issue Apr 15, 2024 · 0 comments
Open

Add a typescript linting rule to enforce commas between types #2190

supermii2 opened this issue Apr 15, 2024 · 0 comments

Comments

@supermii2
Copy link
Contributor

supermii2 commented Apr 15, 2024

Please include the steps to reproduce the bug.

TypeScript does not require a separator between types. However, for style and consistency, it should be enforced that there is always a comma separator between types

What was expected to happen?

An error should be thrown if the separator is missing.

Let's fix these using an eslint rule.

https://eslint.style/rules/ts/member-delimiter-style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants