flycheck integration is taken in a different file to prevent problems when flycheck is not present on the user's system.