make wrapping the app in the lint middleware optional