Skip to content

Commit ebc4b00

Browse files
committed
add type linting to normal linting in package.json
1 parent 8de3b9b commit ebc4b00

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,19 @@
9898
"test:unit": "mocha test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation",
9999
"travis:integration": "yarn cover:init && yarn cover:integration && yarn cover:report-min",
100100
"travis:unit": "yarn cover:init && yarn cover:unit && yarn cover:report-min",
101-
"travis:lint": "yarn lint && yarn tsc",
101+
"travis:lint": "yarn lint",
102102
"travis:benchmark": "yarn benchmark",
103103
"appveyor:integration": "yarn cover:init && yarn cover:integration && yarn cover:report-min",
104104
"appveyor:unit": "yarn cover:init && yarn cover:unit && yarn cover:report-min",
105105
"appveyor:benchmark": "yarn benchmark",
106106
"circleci:test": "node node_modules/mocha/bin/mocha --max-old-space-size=4096 --harmony --trace-deprecation test/*.test.js test/*.unittest.js",
107-
"circleci:lint": "yarn lint && yarn tsc",
107+
"circleci:lint": "yarn lint",
108108
"build:examples": "cd examples && node buildAll.js",
109109
"pretest": "yarn lint",
110110
"prelint": "yarn setup",
111-
"lint": "yarn code-lint && yarn schema-lint",
111+
"lint": "yarn code-lint && yarn schema-lint && yarn type-lint",
112112
"code-lint": "eslint setup lib bin hot buildin \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\"",
113+
"type-lint": "tsc --pretty",
113114
"fix": "yarn code-lint --fix",
114115
"pretty": "prettier \"setup/**/*.js\" \"lib/**/*.js\" \"bin/*.js\" \"hot/*.js\" \"buildin/*.js\" \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\" \"declarations.d.ts\" --write",
115116
"schema-lint": "mocha test/*.lint.js --opts test/lint-mocha.opts",

0 commit comments

Comments
 (0)