Convert indents to spaces, correct lint errors