From 603c88c968fbd79a98d82bcd1ecde290448f52a0 Mon Sep 17 00:00:00 2001 From: Alexandru Vladutu Date: Wed, 25 May 2016 16:49:38 +0300 Subject: [PATCH] update tslint rules --- app/ts/ChatExampleData.ts | 2 +- tslint.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/ts/ChatExampleData.ts b/app/ts/ChatExampleData.ts index 0f5dffc..4024d4d 100644 --- a/app/ts/ChatExampleData.ts +++ b/app/ts/ChatExampleData.ts @@ -46,7 +46,7 @@ let initialMessages: Array = [ sentAt: moment().subtract(4, 'minutes').toDate(), text: `I\'ll wait however many seconds you send to me before responding. Try sending '3'`, thread: tWait - }), + }) ]; export class ChatExampleData { diff --git a/tslint.json b/tslint.json index a2f9ab1..50d67c4 100644 --- a/tslint.json +++ b/tslint.json @@ -35,11 +35,11 @@ "no-duplicate-variable": true, "no-empty": true, "no-eval": true, - "no-require-imports": true, + "no-require-imports": false, "no-shadowed-variable": true, "no-string-literal": true, "no-switch-case-fall-through": true, - "no-trailing-comma": true, + "trailing-comma": [true, {"multiline": "never", "singleline": "never"}], "no-trailing-whitespace": true, "no-unused-expression": true, "no-unused-variable": true, @@ -55,7 +55,7 @@ "quotemark": [true, "single"], "radix": true, "semicolon": true, - "sort-object-literal-keys": false, + "object-literal-sort-keys": false, "triple-equals": [true, "allow-null-check"], "typedef": [true, "call-signature",