Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

feature(formatter): JSX Spread Attribute #2454

Merged
merged 5 commits into from
Apr 27, 2022

Conversation

NicholasLYang
Copy link
Contributor

@NicholasLYang NicholasLYang commented Apr 14, 2022

Summary

Closes #2278

Test Plan

Added some tests for spread attribute formatting. Playground link

@NicholasLYang NicholasLYang temporarily deployed to aws April 14, 2022 21:09 Inactive
@NicholasLYang NicholasLYang changed the title feature: JSX Spread Attribute feature(formatter): JSX Spread Attribute Apr 14, 2022
@github-actions
Copy link

Parser conformance results on ubuntu-latest

js/262

Test result main count This PR count Difference
Total 45878 45878 0
Passed 44938 44938 0
Failed 940 940 0
Panics 0 0 0
Coverage 97.95% 97.95% 0.00%

jsx/babel

Test result main count This PR count Difference
Total 39 39 0
Passed 36 36 0
Failed 3 3 0
Panics 0 0 0
Coverage 92.31% 92.31% 0.00%

ts/babel

Test result main count This PR count Difference
Total 588 588 0
Passed 519 519 0
Failed 69 69 0
Panics 0 0 0
Coverage 88.27% 88.27% 0.00%

ts/microsoft

Test result main count This PR count Difference
Total 16257 16257 0
Passed 12391 12391 0
Failed 3866 3866 0
Panics 0 0 0
Coverage 76.22% 76.22% 0.00%

@github-actions
Copy link

github-actions bot commented Apr 14, 2022

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 14, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3177944
Status: ✅  Deploy successful!
Preview URL: https://c6c5e003.tools-8rn.pages.dev

View logs

@NicholasLYang NicholasLYang temporarily deployed to aws April 25, 2022 17:22 Inactive
@NicholasLYang NicholasLYang temporarily deployed to aws April 25, 2022 17:30 Inactive
@NicholasLYang NicholasLYang temporarily deployed to aws April 25, 2022 17:34 Inactive
@NicholasLYang NicholasLYang marked this pull request as ready for review April 25, 2022 17:40
@NicholasLYang
Copy link
Contributor Author

The JS formatting fails because we need to update the action to use the latest version of the formatter.

@ematipico
Copy link
Contributor

The JS formatting fails because we need to update the action to use the latest version of the formatter.

Or we could avoid updating the JSX files inside the playground.

Unfortunately this is the only caveat of the action, where we want to dog food the npm installation.

Could update the test plan template please?

@NicholasLYang NicholasLYang temporarily deployed to aws April 25, 2022 19:29 Inactive
@NicholasLYang
Copy link
Contributor Author

Okay reverted the jsx changes. Perhaps we need a CI workflow that builds a nightly Rome CI workflow haha.

@NicholasLYang NicholasLYang temporarily deployed to aws April 27, 2022 19:36 Inactive
@NicholasLYang NicholasLYang merged commit 33ea71a into main Apr 27, 2022
@NicholasLYang NicholasLYang deleted the feature/jsx-spread-attribute branch April 27, 2022 23:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

format of JsxSpreadAttribute
2 participants