Remove flycheck code from .dir-locals.el as not everyone has flycheck installed