Fix remaining lint errors (#19166)

This commit is contained in:
Andy
2017-08-20 15:37:53 -07:00
committed by GitHub
parent 83230ae14e
commit 924fafffc0
861 changed files with 2641 additions and 2198 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ function testSourceMapConsumer() {
});
// create from index map
let iscm: SourceMap.IndexedSourceMapConsumer = new SourceMap.SourceMapConsumer({
const iscm: SourceMap.IndexedSourceMapConsumer = new SourceMap.SourceMapConsumer({
version: 3,
sections: [
{ offset: { line: 0, column: 0 }, map: {
@@ -47,7 +47,7 @@ function testSourceMapConsumer() {
});
let scg: SourceMap.SourceMapGenerator;
let bscm: SourceMap.BasicSourceMapConsumer = SourceMap.SourceMapConsumer.fromSourceMap(scg);
const bscm: SourceMap.BasicSourceMapConsumer = SourceMap.SourceMapConsumer.fromSourceMap(scg);
}
function testOriginalPositionFor(scm: SourceMap.SourceMapConsumer) {
+7 -1
View File
@@ -1 +1,7 @@
{ "extends": "dtslint/dt.json" }
{
"extends": "dtslint/dt.json",
"rules": {
// TODO
"prefer-const": false
}
}