Skip to content

fix(config): validate prettier option - #1590

Merged
Andarist merged 6 commits into
changesets:mainfrom
bennypowers:fix/prettier-config
Feb 20, 2025
Merged

Andarist merged 6 commits into
changesets:mainfrom
bennypowers:fix/prettier-config

Conversation

@bennypowers

@bennypowers bennypowers commented Feb 18, 2025 •

Copy link
Copy Markdown
Contributor

fixes #1593

@changeset-bot

changeset-bot Bot commented Feb 18, 2025 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f47cc3c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@changesets/config Patch
@changesets/apply-release-plan Patch
@changesets/cli Patch
@changesets/get-release-plan Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov

codecov Bot commented Feb 18, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.16%. Comparing base (1621d9d) to head (f47cc3c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1590      +/-   ##
==========================================
+ Coverage   80.94%   81.16%   +0.22%     
==========================================
  Files          54       54              
  Lines        2241     2241              
  Branches      669      674       +5     
==========================================
+ Hits         1814     1819       +5     
+ Misses        422      417       -5     
  Partials        5        5              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Andarist

Copy link
Copy Markdown
Member

@bennypowers could you add a test case for this? preferably one testing it e2e in the CLI

@bennypowers

Copy link
Copy Markdown
Contributor Author

I'll take a look at e2e tests

@bennypowers

Copy link
Copy Markdown
Contributor Author

I wrote some tests which look ok to me, but don't appear to actually test the config file. Not sure where I'm going wrong here :/

Comment thread .changeset/curly-cameras-serve.md Resolved
@Andarist
Andarist merged commit b9df596 into changesets:main Feb 20, 2025
@github-actions github-actions Bot mentioned this pull request Feb 20, 2025
@bennypowers
bennypowers deleted the fix/prettier-config branch February 20, 2025 12:32
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.

Changeses config prettier can't accept boolean value

3 participants