Skip to content
This repository was archived by the owner on Feb 4, 2018. It is now read-only.

Commit c154c35

Browse files
author
blond
committed
chore(lint): lint typings
1 parent 8f754dc commit c154c35

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,16 @@
4444
"eslint-config-pedant": "^0.8.0",
4545
"nyc": "^10.0.0",
4646
"proxyquire": "^1.7.7",
47-
"sinon": "^2.1.0"
47+
"sinon": "^2.1.0",
48+
"tslint": "^5.0.0",
49+
"tslint-config-typings": "^0.3.1",
50+
"typescript": "^2.2.2"
4851
},
4952
"scripts": {
5053
"test": "npm run lint && npm run cover",
51-
"lint": "eslint .",
54+
"lint": "npm run lint:js && npm run lint:dts",
55+
"lint:js": "eslint .",
56+
"lint:dts": "tslint **.d.ts",
5257
"unit-test": "ava",
5358
"cover": "nyc ava",
5459
"coveralls": "nyc report --reporter=text-lcov | coveralls"

tslint.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "tslint-config-typings"
3+
}

0 commit comments

Comments
 (0)