GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Replace kcd-scripts prettier by JimMadge · Pull Request #416 · all-contributors/cli

Conversation

@JimMadge

@JimMadge JimMadge commented Jan 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Closes #415
Depends on #402

This copies the kcd-scripts prettier config into the repo.
This did result in some changes to the source files but the rules don't seem to conflict with eslint so I think it is fine if we are happy with the style.

I put the prettier config in an rc file. I'm not sure if there is much advantage to having an mjs file instead. We could switch if we want to do something more complex.

I presume eslint-config-prettier is doing it's job. That is configured in eslint.config.mjs, but I don't really understand what is going on in that file.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

JoshuaKGoldberg reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
lwasser and others added 21 commits January 24, 2026 22:05
@lwasser
docs: dev guide doc updates and gha
d8c4cfb
@lwasser
chore(lint): link files and remove kcd-scripts from pre-commit
4f2038e
@lwasser
chore: remove some specific rules
d4d92ab
@lwasser @JoshuaKGoldberg
Apply suggestions from code review
6d96d59
Co-authored-by: Josh Goldberg ✨ <[email protected]>
@lwasser @JoshuaKGoldberg
Apply suggestions from code review
352aaa8
Co-authored-by: Josh Goldberg ✨ <[email protected]>
@lwasser @JoshuaKGoldberg
Apply suggestion from @JoshuaKGoldberg
cef6865
Co-authored-by: Josh Goldberg ✨ <[email protected]>
@lwasser
enh: setup defineconfig for IDE
942b722
@lwasser
enh: defineconfig
94cf3af
@lwasser
enh: simplify config
a26237f
@lwasser @JoshuaKGoldberg
Apply suggestion from @JoshuaKGoldberg
70e95f6
Co-authored-by: Josh Goldberg ✨ <[email protected]>
@lwasser
Merge branch 'main' into fix-eslint
d9c62e6
@lwasser
enh: apply linting throughout
150728b
@JimMadge
Remove validate script
d8edabd
@JimMadge
Remove unused circle CI configuration
bef4d48
@JimMadge
style(prettier): replace prettier config
eff4d2d
@JimMadge
style(prettier): add prettier as dev dependency
6df2754
@JimMadge
Add prettier script
1ecf383
@JimMadge
Run prettier
bcc9bbd
@JimMadge
Merge remote-tracking branch 'upstream/main' into prettier
a3d52bf
@JimMadge
build(npm): change formatting (prettier) script name
c7e06e0
Changing the name to be agnostic of the tool we use.
@JimMadge
chore: remove unused dependency
49bb445
JimMadge
JimMadge commented Feb 3, 2026
View reviewed changes
Comment thread package.json Resolved

Uh oh!

There was an error while loading. Please reload this page.

@JimMadge
JimMadge marked this pull request as ready for review February 3, 2026 20:45
JoshuaKGoldberg
JoshuaKGoldberg approved these changes Feb 3, 2026
View reviewed changes

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

No blockers from me, this is nice and clean!

Only a couple of suggestions that I think might be better as followups. No preference on my end.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread package.json Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread package.json Resolved

Uh oh!

There was an error while loading. Please reload this page.

@JoshuaKGoldberg

JoshuaKGoldberg commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

eslint-config-prettier

Linking & recapping #402 (comment): its job (disabling ESLint rules that conflict with Prettier) is no longer necessary. 🔪

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

JimMadge and others added 4 commits February 3, 2026 21:06
@JimMadge
chore: remove redundant husky config
ebd6929
@JimMadge
ci(lint): move prettier to lint script
e72dfc5
@JimMadge
style: run lint-fix
6daee27
@JimMadge @JoshuaKGoldberg
Apply suggestion from @JoshuaKGoldberg
dd47b37
Co-authored-by: Josh Goldberg ✨ <[email protected]>
@JimMadge

JimMadge commented Feb 3, 2026

Copy link
Copy Markdown
Member Author

eslint-config-prettier

Linking & recapping #402 (comment): its job (disabling ESLint rules that conflict with Prettier) is no longer necessary. 🔪

Oh, so does that mean we can get rid of the dependency all together? I feel in the last 30 minutes I've learned a lot about Husky, Prettier, Lint Staged and ESLint for npm packages 😆. The Prettier docs suggested conflicts with ESLint can happen so you should use that package and be careful in which order you call them.

JoshuaKGoldberg reacted with rocket emoji
All reactions
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JoshuaKGoldberg

JoshuaKGoldberg commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Oh, so does that mean we can get rid of the dependency all together?

Yup! Unless something regressed in 2025, eslint-config-prettier should no longer practically have any impact with the way we use it.

The Prettier docs suggested conflicts with ESLint can happen so you should use that package and be careful in which order you call them.

Oh, where did you see this? They might need updating to note that this is typically only true for custom and/or legacy configs.

JimMadge reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JimMadge

JimMadge commented Feb 3, 2026

Copy link
Copy Markdown
Member Author

Oh, where did you see this? They might need updating to note that this is typically only true for custom and/or legacy configs.

Recommendation for installing eslint-config-prettier here. And, warning about order of ESLint and Prettier in pre-commit hooks here

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JimMadge
JimMadge merged commit d96e0ef into all-contributors:main Feb 3, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@JoshuaKGoldberg

JoshuaKGoldberg commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

Oof thanks! Filed: prettier/prettier#18859

JimMadge reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JimMadge
JimMadge deleted the prettier branch February 6, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@JoshuaKGoldberg JoshuaKGoldberg JoshuaKGoldberg approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Prettier config: uses kcd-scripts/dist/config/prettierrc

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@JimMadge @JoshuaKGoldberg @lwasser
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.