Skip to content

fix(config): validate prettier option#1590

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

fix(config): validate prettier option#1590
Andarist merged 6 commits intochangesets:mainfrom
bennypowers:fix/prettier-config

Conversation

@bennypowers
Copy link
Contributor

@bennypowers bennypowers commented Feb 18, 2025

fixes #1593

@changeset-bot
Copy link

changeset-bot bot commented Feb 18, 2025

🦋 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
Copy link

codecov bot commented Feb 18, 2025

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
Member

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

@bennypowers
Copy link
Contributor Author

I'll take a look at e2e tests

@bennypowers
Copy link
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 :/

@Andarist Andarist merged commit b9df596 into changesets:main Feb 20, 2025
6 checks passed
@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