Skip to content

chore(ck-vscode): remove unused eslint setup#132

Merged
runonthespot merged 1 commit into
mainfrom
chore/remove-unused-eslint
May 24, 2026
Merged

chore(ck-vscode): remove unused eslint setup#132
runonthespot merged 1 commit into
mainfrom
chore/remove-unused-eslint

Conversation

@runonthespot

Copy link
Copy Markdown
Contributor

Why

ck-vscode shipped:

  • A `"lint": "eslint src --ext ts"` npm script
  • Four dev deps: `eslint`, `@typescript-eslint/eslint-plugin`, `@typescript-eslint/parser`

...but no eslint config file ever existed in `ck-vscode/`. Running `npm run lint` would have failed at startup looking for one. Nothing in CI runs it either (`grep -rn 'npm run lint' .github/` is empty).

So we're maintaining version bumps on a tool nobody actually uses. Dependabot has been opening PRs against it (#123, #124) which all need flat-config migration work to land.

What this does

  • Removes the dead `"lint"` script
  • Removes the 4 eslint dev deps
  • Removes the now-pointless `**/.eslintrc.json` ignore pattern in `.vscodeignore`
  • Regenerates `ck-vscode/package-lock.json` (large diff, all auto)

Verified

  • `npm install` succeeds in `ck-vscode/`
  • `npm run compile` (the actually-used script — `tsc -p ./`) still passes
  • No CI workflow references eslint

Side effects

Closes #123 and #124 automatically — the deps they bump no longer exist.

If lint comes back later

Start with a fresh `eslint --init` and the flat-config (`eslint.config.js`) flow. eslint 9+ requires it. Better than maintaining a stale legacy-config setup.

🤖 Generated with Claude Code

ck-vscode shipped an \`npm run lint\` script + four eslint dev deps,
but no eslint config file ever existed in the directory — running
lint would have failed at startup. Nothing in CI runs it either.

Removing the dead setup:
- Drops 4 dev deps from package.json (eslint, @typescript-eslint/*)
- Removes the lint script
- Cleans .vscodeignore of the now-pointless .eslintrc.json pattern
- Regenerated package-lock.json

If someone wants lint in the future, the right starting point is
a fresh \`eslint --init\` with the flat-config flow (which eslint 9+
requires anyway), not maintaining bumps on a tool nobody runs.

Side effect: closes dependabot PRs #123 (@typescript-eslint/parser
7 → 8) and #124 (eslint 8 → 10) automatically, since their target
deps no longer exist.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@runonthespot runonthespot merged commit d3d579c into main May 24, 2026
14 checks passed
@runonthespot runonthespot deleted the chore/remove-unused-eslint branch May 24, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant