Skip to content

CONFIG_PATTERNS: remove the dead eslint.rc entry and test every pattern #100

Closed

Description

@adityankale190895

CONFIG_PATTERNS in src/git/git-diff.ts decides which changed files count as configuration. One entry, /^eslint\.rc/, matches a file name ESLint doesn't use: the legacy files are .eslintrc, .eslintrc.json and so on, which the next entry /^\.eslint/ already covers.

Done when: /^eslint\.rc/ is removed, and a table-driven test lists one real file name per remaining entry (for example next.config.mjs, .eslintrc.json, Dockerfile.dev, uv.lock) and checks each is still treated as configuration. Export the list for testing if needed. The table catches the next dead pattern too.

Setup and conventions are in CONTRIBUTING.md: run npm test, sign off commits with git commit -s (DCO). Comment here if you want to take it, and ask anything.

Activity

  1. added
    enhancement
    good first issue
    on Nov 11, 2026
  2. added a commit that references this issue on Nov 15, 2026
    348cc34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions