From 68b938d1b438d871b37d8739c3124f37a8529be7 Mon Sep 17 00:00:00 2001 From: Martin Huschenbett Date: Mon, 27 Jan 2020 11:11:16 +0100 Subject: [PATCH] daml-ledger.ts: Fix build and lint config (#4215) CHANGELOG_BEGIN CHANGELOG_END --- language-support/ts/daml-ledger/BUILD.bazel | 5 ++++- language-support/ts/daml-ledger/tsconfig.json | 5 +---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/language-support/ts/daml-ledger/BUILD.bazel b/language-support/ts/daml-ledger/BUILD.bazel index 7fcf0e4b349..5012a1212cc 100644 --- a/language-support/ts/daml-ledger/BUILD.bazel +++ b/language-support/ts/daml-ledger/BUILD.bazel @@ -37,7 +37,10 @@ genrule( eslint_test( name = "lint", - srcs = glob(["**/*.ts"]), + srcs = glob( + ["**/*.ts"], + exclude = ["lib/**/*"], + ), ) pkg_npm( diff --git a/language-support/ts/daml-ledger/tsconfig.json b/language-support/ts/daml-ledger/tsconfig.json index fceff046286..17835e82c1f 100644 --- a/language-support/ts/daml-ledger/tsconfig.json +++ b/language-support/ts/daml-ledger/tsconfig.json @@ -15,8 +15,5 @@ "declaration": true, "sourceMap": true }, - "include": [ - "**/*.ts", - "lib/**/*" - ] + "files": ["index.ts"] }