Fix linter issues
This commit is contained in:
parent
91c89d90a5
commit
68b0f71d26
@ -503,3 +503,4 @@ describe('AssetProxyOwner', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
// tslint:disable-line max-file-line-count
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"test:coverage": "run-s build run_mocha coverage:report:text coverage:report:lcov",
|
"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",
|
"run_mocha": "mocha --require source-map-support/register --require make-promises-safe 'lib/test/**/*.js' --timeout 100000 --bail --exit",
|
||||||
"clean": "shx rm -rf lib",
|
"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:text": "istanbul report text",
|
||||||
"coverage:report:html": "istanbul report html && open coverage/index.html",
|
"coverage:report:html": "istanbul report html && open coverage/index.html",
|
||||||
"profiler:report:html": "istanbul report html && open coverage/index.html",
|
"profiler:report:html": "istanbul report html && open coverage/index.html",
|
||||||
|
7
contracts/test-utils/tsconfig.lint.json
Normal file
7
contracts/test-utils/tsconfig.lint.json
Normal file
@ -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
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user