From 7a815cf685ba235f7008e4e4c5dd9d9aae131f63 Mon Sep 17 00:00:00 2001 From: Eugene Zolenko Date: Thu, 20 Apr 2017 15:05:43 -0600 Subject: [PATCH] - linting --- src/host.ts | 2 +- src/icache.ts | 2 +- tslint.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/host.ts b/src/host.ts index 7abb859..d42d020 100644 --- a/src/host.ts +++ b/src/host.ts @@ -22,7 +22,7 @@ export class LanguageServiceHost implements ts.LanguageServiceHost { fileName = this.normalize(fileName); - let snapshot = ts.ScriptSnapshot.fromString(data); + const snapshot = ts.ScriptSnapshot.fromString(data); this.snapshots[fileName] = snapshot; this.versions[fileName] = (this.versions[fileName] || 0) + 1; return snapshot; diff --git a/src/icache.ts b/src/icache.ts index 9885a3a..ea33bd4 100644 --- a/src/icache.ts +++ b/src/icache.ts @@ -13,4 +13,4 @@ export interface ICache touch(name: string): void; roll(): void; -}; +} diff --git a/tslint.json b/tslint.json index ce86df0..1fc5500 100644 --- a/tslint.json +++ b/tslint.json @@ -19,8 +19,8 @@ "max-line-length": [false], "object-literal-sort-keys": false, "curly": false, - "ordered-imports": [], - "only-arrow-functions": [], + "ordered-imports": [ false ], + "only-arrow-functions": [ false ], "class-name": true } }