Cleanup lint ignore error: prefer-const

This commit is contained in:
segayuu
2017-11-24 09:53:35 +09:00
parent 8f627efc64
commit dd60fa13a8
2 changed files with 2 additions and 3 deletions

View File

@@ -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 });

View File

@@ -5,7 +5,6 @@
"interface-over-type-literal": false,
"no-var-keyword": false,
"object-literal-shorthand": false,
"prefer-const": false,
"unified-signatures": false
}
}