Start linting for double spaces (#20820)

* Start linting for double spaces

* Code review

* Fix cases that were excluded by countDoubleSpaces

* Remove extraneous closing parenthesis
This commit is contained in:
Andy
2018-01-08 08:52:13 -08:00
committed by GitHub
parent 943e52211b
commit 6f2ba15446
35 changed files with 1473 additions and 564 deletions

View File

@@ -257,7 +257,7 @@ namespace ts.server {
export class ScriptVersionCache {
private changes: TextChange[] = [];
private readonly versions: LineIndexSnapshot[] = new Array<LineIndexSnapshot>(ScriptVersionCache.maxVersions);
private minVersion = 0; // no versions earlier than min version will maintain change history
private minVersion = 0; // no versions earlier than min version will maintain change history
private currentVersion = 0;