Skip to content

Commit 971798b

Browse files
committed
Exclude *.d.ts files from lint check
1 parent dbd2b34 commit 971798b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"main": "index.js",
2121
"types": "index.ts",
2222
"scripts": {
23-
"lint": "tslint **/*.ts -t verbose --project tsconfig.json ",
23+
"lint": "tslint **/*.ts --exclude \"**/*.d.ts\" -t verbose --project tsconfig.json",
2424
"test": "tsc && concurrently \"tsc -w\" \"karma start karma.conf.js\"",
2525
"test-once": "tsc && karma start karma.conf.js --single-run --no-auto-watch --browsers PhantomJS",
2626
"install-sample-from-source": "node ./scripts/install-sample-from-source.js samples/photo_album",

0 commit comments

Comments
 (0)