Skip to content

Commit 283b1f3

Browse files
committed
ci: add *.ts to lint script
1 parent 90d21b6 commit 283b1f3

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
@@ -9,7 +9,7 @@
99
"typings": "typings/mysql/index",
1010
"scripts": {
1111
"lint": "npm run lint:docs && npm run lint:code",
12-
"lint:code": "eslint index.js promise.js \"lib/**/*.js\" \"test/**/*.js\" \"benchmarks/**/*.js\"",
12+
"lint:code": "eslint index.js promise.js index.d.ts promise.d.ts \"typings/**/*.ts\" \"lib/**/*.js\" \"test/**/*.{js,ts}\" \"benchmarks/**/*.js\"",
1313
"lint:docs": "eslint Contributing.md README.md \"documentation/**/*.md\" \"examples/*.js\"",
1414
"test": "node ./test/run.js",
1515
"test:tsc-build": "cd \"test/tsc-build\" && npx tsc -p \"tsconfig.json\"",

0 commit comments

Comments
 (0)