aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contracts/core/test/multisig/asset_proxy_owner.ts1
-rw-r--r--contracts/test-utils/package.json2
-rw-r--r--contracts/test-utils/tsconfig.lint.json7
3 files changed, 9 insertions, 1 deletions
diff --git a/contracts/core/test/multisig/asset_proxy_owner.ts b/contracts/core/test/multisig/asset_proxy_owner.ts
index c4ea3813f..daebfb7fb 100644
--- a/contracts/core/test/multisig/asset_proxy_owner.ts
+++ b/contracts/core/test/multisig/asset_proxy_owner.ts
@@ -503,3 +503,4 @@ describe('AssetProxyOwner', () => {
});
});
});
+// tslint:disable-line max-file-line-count
diff --git a/contracts/test-utils/package.json b/contracts/test-utils/package.json
index a83aa931d..55e75717b 100644
--- a/contracts/test-utils/package.json
+++ b/contracts/test-utils/package.json
@@ -16,7 +16,7 @@
"test:coverage": "run-s build run_mocha coverage:report:text coverage:report:lcov",
"run_mocha": "mocha --require source-map-support/register --require make-promises-safe 'lib/test/**/*.js' --timeout 100000 --bail --exit",
"clean": "shx rm -rf lib",
- "lint": "tslint --format stylish --project .",
+ "lint": "tslint --format stylish --project tsconfig.lint.json",
"coverage:report:text": "istanbul report text",
"coverage:report:html": "istanbul report html && open coverage/index.html",
"profiler:report:html": "istanbul report html && open coverage/index.html",
diff --git a/contracts/test-utils/tsconfig.lint.json b/contracts/test-utils/tsconfig.lint.json
new file mode 100644
index 000000000..b557e706a
--- /dev/null
+++ b/contracts/test-utils/tsconfig.lint.json
@@ -0,0 +1,7 @@
+{
+ // This file is a workaround that issue: https://github.com/palantir/tslint/issues/4148#issuecomment-419872702
+ "extends": "./tsconfig",
+ "compilerOptions": {
+ "composite": false
+ }
+}