Skip to content

refactor: remove prettier dependency#1320

Open
joker23 wants to merge 1 commit intomainfrom
skz/remove-prettier-bare
Open

refactor: remove prettier dependency#1320
joker23 wants to merge 1 commit intomainfrom
skz/remove-prettier-bare

Conversation

@joker23
Copy link
Copy Markdown
Contributor

@joker23 joker23 commented Apr 24, 2026

This PR just removes our prettier dependency and its usage

NOTE: if we merge this then we will have a period of time where we would not have a code formatter, this PR is isolated to break up our larger change to introduce stylistic and modernize our eslint implementation


Open in Devin Review

Note

Low Risk
Low risk because changes are confined to developer tooling and package scripts, but CI/local check flows change since formatting is no longer enforced or run.

Overview
Removes Prettier entirely from the repo’s tooling. Deletes .prettierrc/.prettierignore, drops eslint-config-prettier and eslint-plugin-prettier usage, and removes the prettier/prettier rule from .eslintrc.js.

Updates root and package-level package.json files to remove prettier scripts from check pipelines and to drop Prettier-related devDependencies (including the import-sorting plugin). Also removes a now-unneeded // eslint-disable-next-line prettier/prettier comment in the browser contract-test entrypoint.

Reviewed by Cursor Bugbot for commit 619c7e0. Bugbot is set up for automated code reviews on this repo. Configure here.

@joker23 joker23 requested a review from a team as a code owner April 24, 2026 22:27
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@joker23 joker23 force-pushed the skz/remove-prettier-bare branch from c50da18 to 619c7e0 Compare April 24, 2026 22:58
@github-actions
Copy link
Copy Markdown
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 25623 bytes
Compressed size limit: 29000
Uncompressed size: 125843 bytes

@github-actions
Copy link
Copy Markdown
Contributor

@launchdarkly/browser size report
This is the brotli compressed size of the ESM build.
Compressed size: 179547 bytes
Compressed size limit: 200000
Uncompressed size: 830815 bytes

@github-actions
Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 31840 bytes
Compressed size limit: 34000
Uncompressed size: 113634 bytes

@github-actions
Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 38473 bytes
Compressed size limit: 39000
Uncompressed size: 211104 bytes

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.

1 participant