Skip to content

tslint: Force semicolon in object literal#1493

Merged
WardenGnaw merged 1 commit into
microsoft:masterfrom
WardenGnaw:dev/waan/SemicolonLiteralDelimiter
Jan 26, 2018
Merged

tslint: Force semicolon in object literal#1493
WardenGnaw merged 1 commit into
microsoft:masterfrom
WardenGnaw:dev/waan/SemicolonLiteralDelimiter

Conversation

@WardenGnaw

Copy link
Copy Markdown
Member

No description provided.

@WardenGnaw WardenGnaw self-assigned this Jan 26, 2018
@WardenGnaw WardenGnaw requested a review from bobbrow January 26, 2018 02:18
}

public showWorkspaces(workspaceNames: { name: string, key: string }[]): Thenable<string> {
public showWorkspaces(workspaceNames: { name: string; key: string }[]): Thenable<string> {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wonder why it doesn't force it for the second field

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically not required, similar to having a trailing comma at the end of the last element of the array.

I'm not sure if there is an existing core rule on this but I can create one.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nah, don't worry about it. I was just curious.

@WardenGnaw WardenGnaw merged commit aa0f613 into microsoft:master Jan 26, 2018
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants