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
if (argv['skip-lint'] !== true) {
console.log('Running a typecheck and lint pass')
await Promise.all([
$`yarn run typecheck`,
$`yarn run lint:all --max-warnings 0`,
])
await Promise.all([$`yarn run typecheck`, $`yarn run lint:all`])
} else {
console.log('Skipping typecheck and lint')
}