Skip to content

Commit

Permalink
Update trailing-comma rule to match ES sepc
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
testerez committed Jun 6, 2018
1 parent faa063e commit 9940ffa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ module.exports = {
{
multiline: 'always',
singleline: 'never',
esSpecCompliant: true,
},
], // 20.2
semicolon: [true, 'always'], // 21.1
Expand Down

0 comments on commit 9940ffa

Please sign in to comment.