mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Run lint in parallel with runtests-parallel (#52945)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import os from "os";
|
||||
const ci = ["1", "true"].includes(process.env.CI ?? "");
|
||||
|
||||
const parsed = minimist(process.argv.slice(2), {
|
||||
boolean: ["dirty", "light", "colors", "lkg", "soft", "fix", "failed", "keepFailed", "force", "built", "ci", "bundle", "typecheck"],
|
||||
boolean: ["dirty", "light", "colors", "lkg", "soft", "fix", "failed", "keepFailed", "force", "built", "ci", "bundle", "typecheck", "lint"],
|
||||
string: ["browser", "tests", "break", "host", "reporter", "stackTraceLimit", "timeout", "shards", "shardId"],
|
||||
alias: {
|
||||
/* eslint-disable quote-props */
|
||||
@@ -41,6 +41,7 @@ const parsed = minimist(process.argv.slice(2), {
|
||||
ci,
|
||||
bundle: true,
|
||||
typecheck: true,
|
||||
lint: true,
|
||||
}
|
||||
});
|
||||
|
||||
@@ -86,5 +87,6 @@ export default options;
|
||||
* @property {string} break
|
||||
* @property {boolean} bundle
|
||||
* @property {boolean} typecheck
|
||||
* @property {boolean} lint
|
||||
*/
|
||||
void 0;
|
||||
|
||||
Reference in New Issue
Block a user