Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Update trailing-comma rule to match ES sepc #41

Merged
merged 2 commits into from
Jun 7, 2018

Conversation

testerez
Copy link
Contributor

@testerez testerez commented Jun 6, 2018

Since TS v2.9 trailing comma is not allowed after rest parameters.
See: microsoft/TypeScript#22262

This PR is just aligning with new TS requirement to avoid conflicts.

Since TS v2.9 trailing comma is not allowed after rest parameters or bindings.
See: microsoft/TypeScript#22262

This PR is just aligning with new TS requirement to avoid conflicts.
@progre
Copy link
Owner

progre commented Jun 6, 2018

Thanks!
but It looks like to be added on tslint 5.8.0. Would you update the peerDependency?

https://github.com/palantir/tslint/releases/tag/5.8.0

@testerez
Copy link
Contributor Author

testerez commented Jun 7, 2018

Woups, good catch. Done 👍

@progre progre merged commit 8dd689d into progre:master Jun 7, 2018
@progre
Copy link
Owner

progre commented Jun 7, 2018

Thx mate!
It will be released with next feature or patch release.

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.

None yet

2 participants