Add Prettier, Pt. Deux #382
Merged
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.
Add Prettier and standardize documentation code samples and markdown formatting across docs while adding npm scripts in package.json to run formatting and linting
This change introduces Prettier configuration and ignore rules, adds npm scripts to run formatting and markdown linting, and applies consistent code and markdown formatting across documentation files. It standardizes string quotes to single quotes, adds semicolons and trailing commas where applicable, reformats HTML/JSX tags to multi-line attributes, normalizes tables and list indentation, and fixes a few minor links and rendering issues across MDX/Markdown files.
prettier:lint,prettier:fix,lint:md, andlint:md:fix, and add Prettier as a dev dependency<img>/<iframe>tags📍Where to Start
Start with the Prettier configuration in .prettierrc and the script changes in package.json, then review representative doc updates such as docs/pages/chat-apps/core-messaging/send-messages.mdx and docs/pages/agents/core-messaging/create-a-client.mdx.
Macroscope summarized a281244.