GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Migrate to ESLint flat config and update dev dependencies by kyleconroy · Pull Request #168 · sqlc-dev/setup-sqlc

Conversation

@kyleconroy

@kyleconroy kyleconroy commented Apr 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR modernizes the project's linting configuration by migrating from the deprecated .eslintrc.json format to ESLint's new flat config format (eslint.config.mjs), and updates development dependencies to their latest versions.

Key Changes

  • ESLint Configuration Migration: Converted from .eslintrc.json to eslint.config.mjs using the flat config format

    • Removed deprecated ESLint plugins (eslint-plugin-github, eslint-plugin-jest, eslint-plugin-prettier)
    • Simplified rule configuration to focus on core TypeScript linting rules
    • Moved ignore patterns into the config file itself (removed .eslintignore)
  • Development Dependencies Updated:

    • @typescript-eslint/eslint-plugin: ^5.62.0 → ^8.58.1
    • @typescript-eslint/parser: ^5.62.0 → ^8.58.1
    • eslint: ^8.57.0 → ^10.2.0
    • @types/jest: ^29.5.12 → ^30.0.0
    • jest: ^29.7.0 → ^30.3.0
    • jest-circus: ^29.6.4 → ^30.3.0
    • prettier: ^2.6.2 → ^3.8.1
    • ts-jest: ^29.1.2 → ^29.4.9
    • typescript: ^5.4.5 → ^5.9.3
    • Removed eslint-plugin-jest and eslint-plugin-prettier dependencies
  • Jest Configuration: Removed deprecated testRunner: 'jest-circus/runner' option (jest-circus is now the default)

  • Lint Script: Updated from eslint src/**/*.ts to eslint src/ for broader coverage

Implementation Details

The new flat config format provides better composability and is the recommended approach for ESLint v9+. The configuration maintains the same TypeScript linting rules while removing GitHub-specific and formatting-related plugins that are no longer needed in the project's workflow.

https://claude.ai/code/session_01K5K8LnpofCY12cksPpGDuj

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@claude
Update devDependencies and migrate to ESLint 10 flat config
8be8c36
- Update @typescript-eslint/eslint-plugin and parser from 5.x to 8.58.1
- Update eslint from 8.x to 10.2.0 with new flat config format
- Update prettier from 2.x to 3.8.1, jest from 29.x to 30.3.0
- Update ts-jest to 29.4.9, typescript to 5.9.3, js-yaml to 4.1.1
- Update @types/jest to 30.0.0, jest-circus to 30.3.0
- Remove eslint-plugin-github, eslint-plugin-jest, eslint-plugin-prettier
  (incompatible with ESLint 10)
- Migrate .eslintrc.json to eslint.config.mjs (flat config)
- Remove .eslintignore (use ignores in flat config)
- Remove jest-circus testRunner config (default in Jest 30)
- Replace deprecated rules: no-empty-interface -> no-empty-object-type,
  remove no-var-requires (merged into no-require-imports),
  remove func-call-spacing/semi/type-annotation-spacing (removed in v8)

https://claude.ai/code/session_01K5K8LnpofCY12cksPpGDuj
@kyleconroy
kyleconroy merged commit bac53b7 into main Apr 8, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@kyleconroy @claude
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.