chore: improve prettier lint#608
Draft
brojd wants to merge 4 commits into
Draft
Conversation
Member
|
To reduce the amount of conflicts, I'd like for this to merge after we're merged |
Contributor
Author
|
Sound good @kraenhansen 👍 I can solve the conflicts after the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #582
lint:prettierscripts fromprettier 'src/**/*.ts' --checktoprettier . --checkso.tsx,.json,.md, and config files are coveredconvai-widget-embedwhich was missing the--checkflaglint:prettierto@elevenlabs/types(previously had none)formatscript (prettier . --write) to all packages and apnpm formatroot command via turbo.prettierignorefiles per package to excludedist/, generated files, and worklets. This was needed because prettier doesn't respect root.gitignorewhen running inside pnpm workspacespnpm formatto apply prettier changes across all affected packages to fix existing formattingNote
Medium Risk
Mostly formatting/tooling changes, but it rewrites a large generated types file and updates Prettier inputs/ignores across packages, which could cause noisy diffs or missed/extra files in CI if misconfigured.
Overview
Improves Prettier linting and formatting across the monorepo.
lint:prettieris standardized to runprettier . --check(covering TSX/JSON/MD/configs) and a newformatscript (prettier . --write) is added in packages plus root-levelpnpm format/pnpm lint:prettiervia Turborepo.Adds per-package
.prettierignorefiles to excludedist/and generated/worklet outputs, and updatesturbo.jsonsolint:prettierconsiders all files plus.prettierignorewhileformatruns uncached. The PR also applies Prettier-driven formatting to docs/config/tests and regenerates/reformatspackages/types/generated/types/asyncapi-types.ts.Written by Cursor Bugbot for commit d001bd6. This will update automatically on new commits. Configure here.