Migrate to ESLint flat config and update dev dependencies#168
Merged
kyleconroy merged 1 commit intomainfrom Apr 8, 2026
Merged
Migrate to ESLint flat config and update dev dependencies#168kyleconroy merged 1 commit intomainfrom
kyleconroy merged 1 commit intomainfrom
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR modernizes the project's linting configuration by migrating from the deprecated
.eslintrc.jsonformat 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.jsontoeslint.config.mjsusing the flat config formateslint-plugin-github,eslint-plugin-jest,eslint-plugin-prettier).eslintignore)Development Dependencies Updated:
@typescript-eslint/eslint-plugin: ^5.62.0 → ^8.58.1@typescript-eslint/parser: ^5.62.0 → ^8.58.1eslint: ^8.57.0 → ^10.2.0@types/jest: ^29.5.12 → ^30.0.0jest: ^29.7.0 → ^30.3.0jest-circus: ^29.6.4 → ^30.3.0prettier: ^2.6.2 → ^3.8.1ts-jest: ^29.1.2 → ^29.4.9typescript: ^5.4.5 → ^5.9.3eslint-plugin-jestandeslint-plugin-prettierdependenciesJest Configuration: Removed deprecated
testRunner: 'jest-circus/runner'option (jest-circus is now the default)Lint Script: Updated from
eslint src/**/*.tstoeslint src/for broader coverageImplementation 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