Skip to content

Commit 860dd23

Browse files
author
Andy Hanson
committed
Lint whitespace around "="
1 parent e31f982 commit 860dd23

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/harness/harness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ namespace Harness {
925925
export const defaultLibFileName = "lib.d.ts";
926926
export const es2015DefaultLibFileName = "lib.es2015.d.ts";
927927

928-
const libFileNameSourceFileMap= ts.createMap<ts.SourceFile>({
928+
const libFileNameSourceFileMap = ts.createMap<ts.SourceFile>({
929929
[defaultLibFileName]: createSourceFileAndAssertInvariants(defaultLibFileName, IO.readFile(libFolder + "lib.es5.d.ts"), /*languageVersion*/ ts.ScriptTarget.Latest)
930930
});
931931

tslint.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
"semicolon": true,
2121
"whitespace": [true,
2222
"check-branch",
23+
"check-decl",
2324
"check-operator",
25+
"check-module",
2426
"check-separator",
25-
"check-type",
26-
"check-module"
27+
"check-type"
2728
],
2829
"typedef-whitespace": [true, {
2930
"call-signature": "nospace",

0 commit comments

Comments
 (0)