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 member-delimiter-style #15

Merged
merged 1 commit into from
Mar 2, 2022
Merged

Conversation

lucaswerkmeister
Copy link
Member

This rule ensures a consistent style in interfaces and type literals: always use semicolons (not commas or only newlines), and include a final delimiter iff the type has multiple lines. (The rule is configurable, but the defaults seem fine for us, in my opinion.)

This rule [1] ensures a consistent style in interfaces and type
literals: always use semicolons (not commas or only newlines), and
include a final delimiter iff the type has multiple lines. (The rule is
configurable, but the defaults seem fine for us, in my opinion.)

[1]: https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/member-delimiter-style.md
@lucaswerkmeister lucaswerkmeister requested a review from a team March 2, 2022 15:25
@lucaswerkmeister
Copy link
Member Author

Tested at wmde/new-lexeme-special-page#76 (see last commit).

@lucaswerkmeister lucaswerkmeister merged commit 75c02d6 into master Mar 2, 2022
@lucaswerkmeister lucaswerkmeister deleted the member-delimiter-style branch March 2, 2022 15:43
lucaswerkmeister added a commit to wmde/new-lexeme-special-page that referenced this pull request Mar 2, 2022
lucaswerkmeister added a commit to wmde/new-lexeme-special-page that referenced this pull request Mar 3, 2022
…ipt (#77)

This pulls in wmde/eslint-config-wikimedia-typescript#15, ensuring
consistent style in interfaces and type literals.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants