diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-11-24 00:23:31 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-03 19:09:28 +0800 |
commit | 68b0f71d263a2e56d70b596308bf960ba5d8e800 (patch) | |
tree | 37476e27b3e691dfcb662c1251f946a8a6766ff3 | |
parent | 91c89d90a5266354b14fe81517424396b0ca18b0 (diff) | |
download | dexon-sol-tools-68b0f71d263a2e56d70b596308bf960ba5d8e800.tar dexon-sol-tools-68b0f71d263a2e56d70b596308bf960ba5d8e800.tar.gz dexon-sol-tools-68b0f71d263a2e56d70b596308bf960ba5d8e800.tar.bz2 dexon-sol-tools-68b0f71d263a2e56d70b596308bf960ba5d8e800.tar.lz dexon-sol-tools-68b0f71d263a2e56d70b596308bf960ba5d8e800.tar.xz dexon-sol-tools-68b0f71d263a2e56d70b596308bf960ba5d8e800.tar.zst dexon-sol-tools-68b0f71d263a2e56d70b596308bf960ba5d8e800.zip |
Fix linter issues
-rw-r--r-- | contracts/core/test/multisig/asset_proxy_owner.ts | 1 | ||||
-rw-r--r-- | contracts/test-utils/package.json | 2 | ||||
-rw-r--r-- | contracts/test-utils/tsconfig.lint.json | 7 |
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 + } +} |