Skip to content

Conversation

@JoshuaKGoldberg
Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg commented Mar 20, 2025

Purpose of this pull request?

Fixes #270.

  • Documentation update
  • Bug fix
  • Enhancement
  • Other, please explain: internal tooling

What changes did you make?

Bumps packages with eslint, prettier, and/or xo in their name to the latest. This brought in ESLint 9, which defaults to only allowing flat config. I figured this was a good time to make the switch rather than set the env flag to allow the legacy eslintrc + eslintignore config.

Switches linting from a pretest script to lint, so that it doesn't run matrixed in CI for every Node.js version. There's no benefit to running the linter in older Node versions. Lint rules shouldn't change on the Node.js version.

Is there anything you'd like reviewers to focus on?

The Prettier settings mimic what was here before. Prettier's changed some defaults since but I didn't want to get into that now.

This should partially unblock #269.

@socket-security
Copy link

socket-security bot commented Mar 20, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected]10.1.1 None 0 58.4 kB jounqin, lydell, thorn0
npm/[email protected]0.35.0 None +2 25.2 kB sindresorhus
npm/[email protected]5.2.3 None 0 34.5 kB bpscott, jounqin, lydell, ...3 more
npm/[email protected]9.22.0 Transitive: environment, eval, shell +66 5.97 MB

🚮 Removed packages: npm/[email protected], npm/[email protected]

View full report↗︎

Copy link
Member

@UlisesGascon UlisesGascon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @JoshuaKGoldberg!

@JoshuaKGoldberg JoshuaKGoldberg merged commit 1d226f2 into yeoman:main Mar 20, 2025
20 checks passed
@UlisesGascon UlisesGascon mentioned this pull request Nov 1, 2025
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.

🛠️ Repo: Bump ESLint dependencies to support ESM syntax

2 participants