Refactored /lint route