From cb563bc5e96b1c892ab0655d5e946375648d18df Mon Sep 17 00:00:00 2001 From: Klaus Meinhardt Date: Fri, 13 Oct 2017 20:36:59 +0200 Subject: [PATCH] whitespace: add regression test for #2506 (#3305) --- package.json | 2 +- test/rules/whitespace/all/bom.ts.lint | 1 + yarn.lock | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 test/rules/whitespace/all/bom.ts.lint diff --git a/package.json b/package.json index dee6299dfc8..f676fbda4a0 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "resolve": "^1.3.2", "semver": "^5.3.0", "tslib": "^1.7.1", - "tsutils": "^2.12.0" + "tsutils": "^2.12.1" }, "peerDependencies": { "typescript": ">=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev" diff --git a/test/rules/whitespace/all/bom.ts.lint b/test/rules/whitespace/all/bom.ts.lint new file mode 100644 index 00000000000..4d075454a73 --- /dev/null +++ b/test/rules/whitespace/all/bom.ts.lint @@ -0,0 +1 @@ +import * as $t from 't'; diff --git a/yarn.lock b/yarn.lock index 749306ad054..c33960ab89a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1584,9 +1584,9 @@ tslint@^5.7.0: tslib "^1.7.1" tsutils "^2.8.1" -tsutils@^2.12.0: - version "2.12.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.12.0.tgz#c892a84c8f2f8de13f8ef32c2c5c38b457cceac6" +tsutils@^2.12.1: + version "2.12.1" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.12.1.tgz#f4d95ce3391c8971e46e54c4cf0edb0a21dd5b24" dependencies: tslib "^1.7.1"