pub fn checks_file(path: &Path) -> bool
True for a file type that the check parses: JavaScript, TypeScript, and the script blocks of Vue, Svelte and Astro files.