Skip to content

Updates eslint in codemods package#3849

Open
zamoore wants to merge 2 commits intomainfrom
zamoore/hds-6236/eslint-update-codemods
Open

Updates eslint in codemods package#3849
zamoore wants to merge 2 commits intomainfrom
zamoore/hds-6236/eslint-update-codemods

Conversation

@zamoore
Copy link
Copy Markdown
Contributor

@zamoore zamoore commented May 4, 2026

📌 Summary

If merged, this PR upgrades packages/codemods from ESLint 8 legacy config to ESLint 9 flat config (aligned with showcase/website) and keeps codemods lint/test behavior working.

🛠️ Detailed description

  • Updated packages/codemods/package.json to use ESLint 9-era dependencies:
    • eslint -> ^9.27.0
    • added @eslint/js and globals
    • replaced eslint-plugin-node with eslint-plugin-n
    • bumped eslint-config-prettier to ^10.1.5
  • Migrated lint configuration from legacy files to flat config:
    • removed packages/codemods/.eslintrc.js
    • removed packages/codemods/.eslintignore
    • added packages/codemods/eslint.config.js

🔗 External links

Jira ticket: HDS-6236


👀 Component checklist

💬 Please consider using conventional comments when reviewing this PR.

📋 PCI review checklist
  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
  • If applicable, I've worked with GRC to document the impact of any changes to security controls.
    Examples of changes to controls include access controls, encryption, logging, etc.
  • If applicable, I've worked with GRC to ensure compliance due to a significant change to the in-scope PCI environment.
    Examples include changes to operating systems, ports, protocols, services, cryptography-related components, PII processing code, etc.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hds-showcase Ready Ready Preview May 4, 2026 10:28pm
hds-website Ready Ready Preview May 4, 2026 10:28pm

Request Review

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