Checks if tslint is available before calling it