We can tolerate lint warnings in releases

This commit is contained in:
Aria Minaei 2021-10-08 11:41:33 +02:00
parent 7c0765bff2
commit becf3c995d

View file

@ -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')
} }