add lint prevalidation for block ended