diff options
Diffstat (limited to 'contracts/test-utils')
-rw-r--r-- | contracts/test-utils/package.json | 2 | ||||
-rw-r--r-- | contracts/test-utils/tsconfig.lint.json | 7 |
2 files changed, 8 insertions, 1 deletions
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 + } +} |