Skip to content

set up prettier for auto-formatting#184

Merged
acarl005 merged 5 commits into
mainfrom
andy/add-prettier-autoformatting
Feb 19, 2026
Merged

set up prettier for auto-formatting#184
acarl005 merged 5 commits into
mainfrom
andy/add-prettier-autoformatting

Conversation

@acarl005
Copy link
Copy Markdown
Contributor

@acarl005 acarl005 commented Feb 19, 2026

This PR sets up auto-formatting for the JSON files in this repo. Note that most of the files in here follow the same formatting. There are a few that have 2-space indent instead of 4.

// prettier config
{
  "tabWidth": 4,
  "plugins": ["prettier-plugin-multiline-arrays"],
  "multilineArraysWrapThreshold": 1
}

I have tried to configure Prettier to minimize the edits here. The 2-space indented files needed to be changed. That comprises most of the changed lines. Unfortunately, a lot of the files lack a trailing newline which Prettier must add (this is not configurable).

Copy link
Copy Markdown
Contributor Author

acarl005 commented Feb 19, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@acarl005 acarl005 marked this pull request as ready for review February 19, 2026 13:56
Base automatically changed from andy/add-agents-md-file to main February 19, 2026 16:55
@acarl005 acarl005 force-pushed the andy/add-prettier-autoformatting branch from 6e30e67 to 7dfd4dd Compare February 19, 2026 16:59
@acarl005 acarl005 merged commit 1b897d1 into main Feb 19, 2026
4 checks passed
@acarl005 acarl005 deleted the andy/add-prettier-autoformatting branch February 19, 2026 17:12
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.

2 participants