Refactor lint task