Skip to content

Commit 9940ffa

Browse files
authored
Update trailing-comma rule to match ES sepc
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.
1 parent faa063e commit 9940ffa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tslint.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ module.exports = {
8282
{
8383
multiline: 'always',
8484
singleline: 'never',
85+
esSpecCompliant: true,
8586
},
8687
], // 20.2
8788
semicolon: [true, 'always'], // 21.1

0 commit comments

Comments
 (0)