Update lint-md rules to only run if md files