We can tolerate lint warnings in releases
This commit is contained in:
parent
7c0765bff2
commit
becf3c995d
1 changed files with 1 additions and 4 deletions
|
@ -126,10 +126,7 @@ const packagesWhoseVersionsShouldBump = [
|
||||||
$.verbose = true
|
$.verbose = true
|
||||||
if (argv['skip-lint'] !== true) {
|
if (argv['skip-lint'] !== true) {
|
||||||
console.log('Running a typecheck and lint pass')
|
console.log('Running a typecheck and lint pass')
|
||||||
await Promise.all([
|
await Promise.all([$`yarn run typecheck`, $`yarn run lint:all`])
|
||||||
$`yarn run typecheck`,
|
|
||||||
$`yarn run lint:all --max-warnings 0`,
|
|
||||||
])
|
|
||||||
} else {
|
} else {
|
||||||
console.log('Skipping typecheck and lint')
|
console.log('Skipping typecheck and lint')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue