You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Planner: ESLint lint is skipped when a changed .vue/.svelte/.md file is a type the ESLint config adds #241
narrowGateChecks decides whether an ESLint directory target (eslint src) covers a changed file by its extension, using only the JavaScript/TypeScript set (ESLINT_EXTENSIONS) or --ext. ESLint itself lints every file under a directory target that the config's files patterns reach (flat config) or that an eslintrc overrides[].files names. So when the config adds a file type, such as eslint-plugin-vue's flat/recommended (**/*.vue), @eslint/markdown or svelte-eslint-parser, a change to that type is treated as "not covered" and the lint check is skipped.
Impact
High, a wrongful skip. A Vue, Svelte or Markdown change that breaks lint passes the gate because the lint check never runs. That breaks the fail-closed rule: a skip must never hide a failure the real command would report.
Activity