reposense / RepoSense

Contribution analysis tool for Git repositories
https://reposense.org
MIT License
238 stars 153 forks source link

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

Open supermii2 opened 2 months ago

supermii2 commented 2 months ago

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