Code Monkey home page Code Monkey logo

Comments (8)

liuxingbaoyu avatar liuxingbaoyu commented on June 6, 2024 2

"babel": {
"commit": "4e0e5f9ad6ca1c8b305dd2bc3aba9a28f1239837",
"glob": "./{packages,codemods,eslint}/**/*.js",
"ignore": ".eslintignore",
"url": "https://github.com/babel/babel.git"
},

Is glob something to be processed? We should currently only have a few js files.

from prettier-regression-testing.

fisker avatar fisker commented on June 6, 2024

run #13735 vs prettier/prettier#next

from prettier-regression-testing.

github-actions avatar github-actions commented on June 6, 2024

prettier/prettier#13735 VS prettier/prettier@next

Diff (128 lines)
diff --git ORI/react-admin/examples/crm/src/contacts/TagsListEdit.tsx ALT/react-admin/examples/crm/src/contacts/TagsListEdit.tsx
index ef84941..0c21a93 100644
--- ORI/react-admin/examples/crm/src/contacts/TagsListEdit.tsx
+++ ALT/react-admin/examples/crm/src/contacts/TagsListEdit.tsx
@@ -139,20 +139,23 @@ export const TagsListEdit = ({ record }: { record: Contact }) => {
                 onClose={handleClose}
                 anchorEl={anchorEl}
             >
-                {unselectedTagIds?.map(id => (
-                    <MenuItem key={id} onClick={() => handleAddTag(id)}>
-                        <Chip
-                            size="small"
-                            variant="outlined"
-                            label={allTags && allTags[id].name}
-                            style={{
-                                backgroundColor: allTags && allTags[id].color,
-                                border: 0,
-                            }}
-                            onClick={() => handleAddTag(id)}
-                        />
-                    </MenuItem>
-                ))}
+                {
+                    unselectedTagIds?.map(id => (
+                        <MenuItem key={id} onClick={() => handleAddTag(id)}>
+                            <Chip
+                                size="small"
+                                variant="outlined"
+                                label={allTags && allTags[id].name}
+                                style={{
+                                    backgroundColor:
+                                        allTags && allTags[id].color,
+                                    border: 0,
+                                }}
+                                onClick={() => handleAddTag(id)}
+                            />
+                        </MenuItem>
+                    ))
+                }
                 <MenuItem onClick={handleOpenCreateDialog}>
                     <Chip
                         icon={<EditIcon />}
diff --git ORI/react-admin/examples/demo/src/orders/Totals.tsx ALT/react-admin/examples/demo/src/orders/Totals.tsx
index 378c594..769ad1e 100644
--- ORI/react-admin/examples/demo/src/orders/Totals.tsx
+++ ALT/react-admin/examples/demo/src/orders/Totals.tsx
@@ -25,10 +25,12 @@ const Totals = (props: FieldProps<Order>) => {
                         {translate('resources.commands.fields.basket.sum')}
                     </TableCell>
                     <TableCell className={classes.rightAlignedCell}>
-                        {record?.total_ex_taxes.toLocaleString(undefined, {
-                            style: 'currency',
-                            currency: 'USD',
-                        })}
+                        {
+                            record?.total_ex_taxes.toLocaleString(undefined, {
+                                style: 'currency',
+                                currency: 'USD',
+                            })
+                        }
                     </TableCell>
                 </TableRow>
                 <TableRow>
@@ -36,25 +38,31 @@ const Totals = (props: FieldProps<Order>) => {
                         {translate('resources.commands.fields.basket.delivery')}
                     </TableCell>
                     <TableCell className={classes.rightAlignedCell}>
-                        {record?.delivery_fees.toLocaleString(undefined, {
-                            style: 'currency',
-                            currency: 'USD',
-                        })}
+                        {
+                            record?.delivery_fees.toLocaleString(undefined, {
+                                style: 'currency',
+                                currency: 'USD',
+                            })
+                        }
                     </TableCell>
                 </TableRow>
                 <TableRow>
                     <TableCell>
                         {translate('resources.commands.fields.basket.taxes')} (
-                        {record?.tax_rate.toLocaleString(undefined, {
-                            style: 'percent',
-                        })}
+                        {
+                            record?.tax_rate.toLocaleString(undefined, {
+                                style: 'percent',
+                            })
+                        }
                         )
                     </TableCell>
                     <TableCell className={classes.rightAlignedCell}>
-                        {record?.taxes.toLocaleString(undefined, {
-                            style: 'currency',
-                            currency: 'USD',
-                        })}
+                        {
+                            record?.taxes.toLocaleString(undefined, {
+                                style: 'currency',
+                                currency: 'USD',
+                            })
+                        }
                     </TableCell>
                 </TableRow>
                 <TableRow>
@@ -67,10 +75,12 @@ const Totals = (props: FieldProps<Order>) => {
                             classes.rightAlignedCell
                         )}
                     >
-                        {record?.total.toLocaleString(undefined, {
-                            style: 'currency',
-                            currency: 'USD',
-                        })}
+                        {
+                            record?.total.toLocaleString(undefined, {
+                                style: 'currency',
+                                currency: 'USD',
+                            })
+                        }
                     </TableCell>
                 </TableRow>
             </TableBody>

from prettier-regression-testing.

fisker avatar fisker commented on June 6, 2024

run #13735 vs prettier/prettier#next

from prettier-regression-testing.

github-actions avatar github-actions commented on June 6, 2024

prettier/prettier#13735 VS prettier/prettier@next

The diff is empty.

from prettier-regression-testing.

fisker avatar fisker commented on June 6, 2024

run #13735 vs prettier/prettier#next

from prettier-regression-testing.

fisker avatar fisker commented on June 6, 2024

Added ts files to test c2b83c4

Thanks!

from prettier-regression-testing.

github-actions avatar github-actions commented on June 6, 2024

prettier/prettier#13735 VS prettier/prettier@next

The diff is empty.

from prettier-regression-testing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.