de-lint and prettify scan