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

chore: add prefer interfaces rule #3011

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

chore: add prefer interfaces rule #3011

wants to merge 2 commits into from

Conversation

Lightning00Blade
Copy link
Collaborator

@Lightning00Blade Lightning00Blade commented Jan 21, 2025

The rule enforces the TypeScript style that all shape like types should be interfaces.
Also it comes with an auto-fixer so should create friction when developing.
https://google.github.io/styleguide/tsguide.html#prefer-interfaces

Also updates files name to match the convention that only files with one Classes export start with upper-case.

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.

1 participant