Skip to content

Conversation

Copy link

Copilot AI commented Nov 26, 2025

Migrates to ESLint 9 and flat config format. ESLint 8 reached EOL on October 5, 2024 and traditional configuration files are deprecated.

Breaking changes - consumers must migrate their configuration files manually.

Changes

  • ESLint 9 upgrade: Updated all ESLint-related dependencies to ESLint 9 compatible versions
  • Flat config migration: Converted all configurations to the new flat config format
    • configs/base.js, configs/typescript.js, configs/prettier.js now export config arrays
    • Uses projectService: true for TypeScript parser (recommended for ESLint 9+)
    • Uses eslint-plugin-prettier/recommended for flat config integration
  • Updated exports: Main entry point and plugin adapted for flat config consumption

Usage

// eslint.config.js
const wpvip = require('@automattic/eslint-config-wpvip');

module.exports = [
  ...wpvip.configs.base,
  ...wpvip.configs.typescript,
  ...wpvip.configs.prettier,
];

Release plan

Publish as 1.0.0-rc@next for testing before stable 1.0.0 release.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add ESLint 9 support and migrate to flat config Add ESLint 9 support and migrate to flat config Nov 26, 2025
Copilot AI requested a review from GaryJones November 26, 2025 22:35
Copilot finished work on behalf of GaryJones November 26, 2025 22:35
@GaryJones GaryJones requested review from sjinks and removed request for GaryJones November 26, 2025 22:37
@GaryJones GaryJones removed their assignment Nov 26, 2025
@sjinks
Copy link
Member

sjinks commented Dec 1, 2025

@copilot I don't see any changed files. Please make sure you have committed your changes.

Copy link
Author

Copilot AI commented Dec 1, 2025

@copilot I don't see any changed files. Please make sure you have committed your changes.

My previous interaction only involved responding to automated review comments - no code changes were needed since the implementation was already correct. All the ESLint 9 migration work is in commit 9cf21a6. The empty commit (0109dd9) was created inadvertently and can be ignored or removed.

Copilot finished work on behalf of sjinks December 1, 2025 14:40
@sjinks sjinks force-pushed the add-eslint-9-support branch 2 times, most recently from a8fa6e2 to 8690a49 Compare December 2, 2025 23:15
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.

3 participants