diff options
author | Idan Amit <ia096e@intl.att.com> | 2018-08-26 16:05:19 +0300 |
---|---|---|
committer | Idan Amit <ia096e@intl.att.com> | 2018-08-26 16:05:19 +0300 |
commit | dc5da2d5d61bd20051ee8b5bffa23773ee7d44f3 (patch) | |
tree | 76d8c6ce475aea7c4bd8cef9ffc1be955baeec5c /package.json | |
parent | 138f7d22e0b8a143d45f23f7aecac0380318cafd (diff) |
Add tslint report to sdc-pubsub sonar
Added tslint report to sdc-pubsub sonar
Fixed all issues raised from tslint report
Change-Id: Iac8174b4a72f190c4b607c2d7ee55f7db457b4b5
Issue-ID: SDC-1668
Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json index a075e40..455d508 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "scripts": { "clean": "rimraf dist", "build": "tsc && webpack --mode development", - "test": "jest" + "test": "jest", + "lint": "./node_modules/.bin/tslint -t json -o ./coverage/tslint-report.json --project ./tsconfig.json" }, "keywords": [ "sdc", @@ -26,6 +27,8 @@ "jest-sonar-reporter": "^2.0.0", "rimraf": "^2.6.2", "ts-jest": "^23.0.1", + "tslint": "^5.11.0", + "tslint-sonarts": "^1.7.0", "typescript": "2.7.2", "webpack": "4.12.0", "webpack-cli": "^3.1.0" |