v0.4.x: refactor lint tool