Skip to content

Conversation

JoshuaKGoldberg
Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg commented Jan 21, 2025

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[x] Other, please explain: internal tooling change

Fixes #17814 (part 2 of 2).

What changes did you make? (Give an overview)

Builds on top of #19354 by additionally:

  1. 536c32c: running npx trunk fmt --all
  2. b8dfae7: Touching up comment directives that were broken by those formatting changes

The CodeQL reports are all for existing code so I dismissed them. This PR shouldn't change any behavior or impact users in any way. Any actual configuration changes should all be in #19354.

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

When on the github dot com view, I would recommend viewing with Hide whitespace enabled.

The intended merge order of PRs to avoid main branch CI failures is:

  1. chore: remove formatting-related lint rules internally #19473: to remove any CI check that would fail on the upcoming new formatting
  2. 👉 chore: formatted files with Prettier via trunk fmt #19355 (this one): applies new formatting rules, and should be squash-merged to make a single commit for .git-blame-ignore-revs
  3. chore: enabled Prettier in Trunk #19354: adds Prettier checks in CI and as commit hooks via Trunk

@eslint-github-bot eslint-github-bot bot added the chore This change is not user-facing label Jan 21, 2025
@github-actions github-actions bot added rule Relates to ESLint's core rules cli Relates to ESLint's command-line interface core Relates to ESLint's core APIs and features formatter Relates to the formatters bundled with ESLint github actions labels Jan 21, 2025
Copy link

netlify bot commented Jan 21, 2025

Deploy Preview for docs-eslint canceled.

Name Link
🔨 Latest commit 01a9d58
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/67dadbdd6c70460008a0fd0c

@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review January 31, 2025 21:54
@JoshuaKGoldberg JoshuaKGoldberg requested a review from a team as a code owner January 31, 2025 21:54
@JoshuaKGoldberg JoshuaKGoldberg changed the title chore: apply Prettier formatting chore: formatted files with Prettier via trunk fmt Jan 31, 2025
Copy link

Hi everyone, it looks like we lost track of this pull request. Please review and see what the next steps are. This pull request will auto-close in 7 days without an update.

@github-actions github-actions bot added the Stale label Feb 10, 2025
@fasttime fasttime removed the Stale label Feb 11, 2025
@nzakas
Copy link
Member

nzakas commented Feb 11, 2025

@fasttime reminder that when you remove the "stale" issue also leave a comment explaining why this isn't stale.

@fasttime
Copy link
Member

@fasttime reminder that when you remove the "stale" issue also leave a comment explaining why this isn't stale.

My bad, sorry. This is still a work in progress with an ongoing discussion in #19354.

Copy link

Hi everyone, it looks like we lost track of this pull request. Please review and see what the next steps are. This pull request will auto-close in 7 days without an update.

@github-actions github-actions bot added the Stale label Feb 22, 2025
@nzakas
Copy link
Member

nzakas commented Feb 25, 2025

Ping @JoshuaKGoldberg

@github-actions github-actions bot removed the Stale label Feb 25, 2025
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as draft March 7, 2025 20:57
@JoshuaKGoldberg
Copy link
Contributor Author

The second half of the day Tuesday (tomorrow) and the first half of Wednesday I'm fully clear (all EST).

@nzakas
Copy link
Member

nzakas commented Mar 17, 2025

Okay, let me see if I can get in touch with everyone to coordinate.

@nzakas
Copy link
Member

nzakas commented Mar 18, 2025

Let's do Wednesday, March 19, at 10am EDT?

When you start, please post in Discord and add a comment to each open PR not to merge until you give the all-clear. And when completed, also post in Discord and on the PRs.

I should be online around that time barring unexpected circumstances.

@fisker
Copy link
Contributor

fisker commented Mar 19, 2025

Reminder: we should probably add .git-blame-ignore-revs after this gets merged to ignore this commit.

@JoshuaKGoldberg JoshuaKGoldberg merged commit 129882d into eslint:main Mar 19, 2025
31 checks passed
@github-project-automation github-project-automation bot moved this from Implementing to Complete in Triage Mar 19, 2025
@JoshuaKGoldberg JoshuaKGoldberg deleted the prettier-formatted branch March 19, 2025 15:19
@fisker
Copy link
Contributor

fisker commented Mar 19, 2025

Great work!

@fasttime fasttime mentioned this pull request Mar 19, 2025
1 task
@fisker

This comment was marked as outdated.

@fisker
Copy link
Contributor

fisker commented Mar 28, 2025

Also, is it a typo on this line?

"lint:fix:docs:js": "trunk check -y --ignore=** --ignore=!docs/**/*.js -a --flter=eslint && trunk check -y --ignore=** --ignore=!docs/**/*.js",

- --flter
+ --filter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore This change is not user-facing cli Relates to ESLint's command-line interface core Relates to ESLint's core APIs and features formatter Relates to the formatters bundled with ESLint github actions rule Relates to ESLint's core rules
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

Change Request: Consider adopting prettier internally
4 participants