From dd60fa13a8f28fdde72de494ae6e42ba10d14bcb Mon Sep 17 00:00:00 2001 From: segayuu Date: Fri, 24 Nov 2017 09:53:35 +0900 Subject: [PATCH] Cleanup lint ignore error: prefer-const --- types/ejs/ejs-tests.ts | 4 ++-- types/ejs/tslint.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/types/ejs/ejs-tests.ts b/types/ejs/ejs-tests.ts index b5b46f03b5..f7ad42ab73 100644 --- a/types/ejs/ejs-tests.ts +++ b/types/ejs/ejs-tests.ts @@ -1,3 +1,3 @@ import ejs = require("ejs"); -var people = ['geddy', 'neil', 'alex']; -var html = ejs.render('<%= people.join(", "); %>', { people: people }); +const people = ['geddy', 'neil', 'alex']; +const html = ejs.render('<%= people.join(", "); %>', { people: people }); diff --git a/types/ejs/tslint.json b/types/ejs/tslint.json index 001a94fd06..f697c232f4 100644 --- a/types/ejs/tslint.json +++ b/types/ejs/tslint.json @@ -5,7 +5,6 @@ "interface-over-type-literal": false, "no-var-keyword": false, "object-literal-shorthand": false, - "prefer-const": false, "unified-signatures": false } }