Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(deps): update dependency prettier to v3.2.4#8357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JoshuaKGoldberg merged 2 commits intomainfromrenovate/prettier-3.x
Feb 4, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovaterenovatebot commentedFeb 3, 2024

Mend Renovate

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
prettier (source)3.1.0 ->3.2.4ageadoptionpassingconfidence

Release Notes

prettier/prettier (prettier)

v3.2.4

Compare Source

diff

Fix incorrect parser inference (#​15947 by@​fisker)

Files like.eslintrc.json were incorrectly formatted as JSONC files.

// Inputprettier--file-info.eslintrc.json{"ignored":false,"inferredParser":"jsonc"}// Prettier 3.2.4prettier--file-info.eslintrc.json{"ignored":false,"inferredParser":"json"}

v3.2.3

Compare Source

diff

Throw errors for invalid code (#​15881 by@​fisker,@​Josh-Cena,@​auvred)
// Input1++;// Prettier 3.2.21++;// Prettier 3.2.3SyntaxError:Invalidleft-handsideexpressioninunaryoperation(1:1)>1|1++;|^
// Inputtry{}catch(error=1){}// Prettier 3.2.2try{}catch(error){}// Prettier 3.2.3SyntaxError:Catchclausevariablecannothaveaninitializer.(1:23)>1|try{}catch(error=1){}|^
Fix parser inference (#​15927 by@​fisker)
// Prettier 3.2.2prettier --file-info tsconfig.json{ "ignored": false, "inferredParser": "json" }// Prettier 3.2.3prettier --file-info tsconfig.json{ "ignored": false, "inferredParser": "jsonc" }

v3.2.2

Compare Source

diff

Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute (#​15896 by@​eelco)

For example this code would crash before:

<style{...spread}>{`.{}`}</style>
Fix formatting error on optional call expression and member chain (#​15920 by@​sosukesuzuki)
// Inputa(()=>{},c?.d());// Prettier 3.2.1TypeError:Cannotreadpropertiesofundefined(reading'type')// Prettier 3.2.2a(()=>{},c?.d());

v3.2.1

Compare Source

diff

Fix formatting error on member chain (#​15915 by@​sosukesuzuki)
// Inputtest().test2().test2(thing?.something);// Prettier 3.2.0TypeError:Cannotreadpropertiesofundefined(reading'type')// Prettier 3.2.1test().test2().test2(thing?.something);

v3.2.0

Compare Source

diff

🔗Release Notes

v3.1.1

Compare Source

diff

Fix config file search (#​15363 by@​fisker)

Previously, we start search for config files from the filePath as a directory, if it happened to be a directory and contains config file, it will be used by mistake.

├─ .prettierrc└─ test.js         (A directory)  └─ .prettierrc
// Prettier 3.1.0awaitprettier.resolveConfigFile(newURL("./test.js",import.meta.url));// <CWD>/test.js/.prettierrc// Prettier 3.1.1awaitprettier.resolveConfigFile(newURL("./test.js",import.meta.url));// <CWD>/.prettierrc
Skip explicitly passed symbolic links with--no-error-on-unmatched-pattern (#​15533 by@​sanmai-NL)

Since Prettier v3, we stopped following symbolic links, however in some use cases, the symbolic link patterns can't be filtered out, and there is no way to prevent Prettier from throwing errors.

In Prettier 3.1.1, you can use--no-error-on-unmatched-pattern to simply skip symbolic links.

Consistently use tabs in ternaries whenuseTabs istrue (#​15662 by@​auvred)
// Inputaaaaaaaaaaaaaaa?bbbbbbbbbbbbbbbbbb:ccccccccccccccc  ?ddddddddddddddd  :eeeeeeeeeeeeeee    ?fffffffffffffff    :gggggggggggggggg;// Prettier 3.1.0aaaaaaaaaaaaaaa?bbbbbbbbbbbbbbbbbb:ccccccccccccccc  ?ddddddddddddddd  :eeeeeeeeeeeeeee    ?fffffffffffffff    :gggggggggggggggg;// Prettier 3.1.1aaaaaaaaaaaaaaa?bbbbbbbbbbbbbbbbbb:ccccccccccccccc?ddddddddddddddd:eeeeeeeeeeeeeee?fffffffffffffff:gggggggggggggggg;
Improve config file search (#​15663 by@​fisker)

The Prettier config file search performance has been improved by more effective cache strategy.

Fix unstable and ugly formatting for comments in destructuring patterns (#​15708 by@​sosukesuzuki)
// Inputconst{  foo,// bar// baz}:Foo=expr;// Prettier 3.1.0const{  foo1,}// bar// baz:Foo=expr;// Prettier 3.1.0 second outputconst{  foo1,// bar}// baz:Foo=expr;// Prettier 3.1.1const{  foo1,// bar// baz}:Foo=expr;
Support "Import Attributes" (#​15718 by@​fisker)

TypeScript 5.3 supports the latest updates to theimport attributes proposal.

importsomethingfrom"./something.json"with{type:"json"};
Fix false claim in docs that cursorOffset is incompatible with rangeStart/rangeEnd (#​15750 by@​ExplodingCabbage)

The cursorOffset option has in fact been compatible with rangeStart/rangeEnd for over 5 years, thanks to work by@​ds300. However, Prettier's documentation (including the CLI--help text) continued to claim otherwise, falsely. The documentation is now fixed.

Keep curly braces andfrom keyword in emptyimport statements (#​15756 by@​fisker)
// Inputimport{}from'foo';import{/* comment */}from'bar';// Prettier 3.1.0import{}from"foo";import/* comment */"bar";// Prettier 3.1.1import{}from"foo";import{}from/* comment */"bar";
Keep empty import attributes and assertions (#​15757 by@​fisker)
// Inputimportfoofrom"foo"with{};importbarfrom"bar"assert{};// Prettier 3.1.0importfoofrom"foo";importbarfrom"bar";// Prettier 3.1.1importfoofrom"foo"with{};importbarfrom"bar"assert{};

Configuration

📅Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated byMend Renovate. View repository job loghere.

@renovaterenovatebot added dependenciesIssue about dependencies of the package javascriptPull requests that update Javascript code labelsFeb 3, 2024
@typescript-eslint
Copy link
Contributor

Thanks for the PR,@renovate[bot]!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint.

@netlifyNetlify
Copy link

netlifybot commentedFeb 3, 2024
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commitc58603c
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/65beb297e677d200085fc69e
😎 Deploy Previewhttps://deploy-preview-8357--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 96 (🟢 up 6 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 98 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to yourNetlify site configuration.

@nx-cloudNx Cloud
Copy link

nx-cloudbot commentedFeb 3, 2024
edited
Loading

☁️ Nx Cloud Report

CI is running/has finished running commands for commitc58603c. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


🟥 Failed Commands
nx run-many --target=lint --parallel
✅ Successfully ran 32 targets

Sent with 💌 fromNxCloud.

@renovateRenovate
Copy link
ContributorAuthor

renovatebot commentedFeb 3, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@codecovCodecov
Copy link

codecovbot commentedFeb 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base(e30e76b) 87.79% compared to head(c58603c) 87.80%.
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@##             main    #8357      +/-   ##==========================================+ Coverage   87.79%   87.80%   +0.01%==========================================  Files         398      398                Lines       14047    14052       +5       Branches     4089     4090       +1     ==========================================+ Hits        12332    12338       +6  Misses       1403     1403+ Partials      312      311       -1
FlagCoverage Δ
unittest87.80% <ø> (+0.01%)⬆️

Flags with carried forward coverage won't be shown.Click here to find out more.

see 1 file with indirect coverage changes

@JoshuaKGoldberg
Copy link
Member

CI failure is unrelated:#8373

@JoshuaKGoldbergJoshuaKGoldberg merged commitaa5edf7 intomainFeb 4, 2024
@JoshuaKGoldbergJoshuaKGoldberg deleted the renovate/prettier-3.x branchFebruary 4, 2024 19:00
danvk pushed a commit to danvk/typescript-eslint that referenced this pull requestFeb 4, 2024
…8357)* chore(deps): update dependency prettier to v3.2.4* chore: update formatting after prettier upgrade---------Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>Co-authored-by: JamesHenry <james@henry.sc>
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsFeb 12, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
dependenciesIssue about dependencies of the packagejavascriptPull requests that update Javascript code
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@JoshuaKGoldberg@JamesHenry

[8]ページ先頭

©2009-2025 Movatter.jp