Fix linter issues

This commit is contained in:
Leonid Logvinov 2018-11-23 17:23:31 +01:00
parent 91c89d90a5
commit 68b0f71d26
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4
3 changed files with 9 additions and 1 deletions

View File

@ -503,3 +503,4 @@ describe('AssetProxyOwner', () => {
}); });
}); });
}); });
// tslint:disable-line max-file-line-count

View File

@ -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",

View 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
}
}