Linting actually works! It caught a bug here with adding courses to shortlist. (Variable `onSuccess` defined above was not being used.)