Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for 13621 (Fix template literal indention) #283

Closed
fisker opened this issue Oct 12, 2022 · 4 comments
Closed

for 13621 (Fix template literal indention) #283

fisker opened this issue Oct 12, 2022 · 4 comments

Comments

@fisker
Copy link
Member

fisker commented Oct 12, 2022

No description provided.

@fisker fisker changed the title for 11103 (Fix template literal indention) for 13621 (Fix template literal indention) Oct 12, 2022
@fisker
Copy link
Member Author

fisker commented Oct 12, 2022

run #13621 vs prettier/prettier#next

@fisker fisker closed this as completed Oct 12, 2022
@fisker
Copy link
Member Author

fisker commented Oct 13, 2022

run #13626 vs prettier/prettier#next

@github-actions
Copy link
Contributor

github-actions bot commented Oct 13, 2022

prettier/prettier#13626 VS prettier/prettier@next

Diff (64 lines)
diff --git ORI/babel/packages/babel-types/scripts/generators/ast-types.js ALT/babel/packages/babel-types/scripts/generators/ast-types.js
index 3bf42869..3703b472 100644
--- ORI/babel/packages/babel-types/scripts/generators/ast-types.js
+++ ALT/babel/packages/babel-types/scripts/generators/ast-types.js
@@ -50,8 +50,8 @@ interface BaseNode {
 export type CommentTypeShorthand = "leading" | "inner" | "trailing";
 
 export type Node = ${t.TYPES.filter(k => !t.FLIPPED_ALIAS_KEYS[k])
-    .sort()
-    .join(" | ")};\n\n`;
+  .sort()
+  .join(" | ")};\n\n`;
 
   const deprecatedAlias = {};
   for (const type in t.DEPRECATED_KEYS) {



diff --git ORI/react-admin/packages/ra-ui-materialui/src/detail/EditGuesser.tsx ALT/react-admin/packages/ra-ui-materialui/src/detail/EditGuesser.tsx
index 940ac21..5483c9e 100644
--- ORI/react-admin/packages/ra-ui-materialui/src/detail/EditGuesser.tsx
+++ ALT/react-admin/packages/ra-ui-materialui/src/detail/EditGuesser.tsx
@@ -35,8 +35,8 @@ const EditViewGuesser = props => {
                     `Guessed Edit:
 
 export const ${inflection.capitalize(
-                        inflection.singularize(resource)
-                    )}Edit = props => (
+    inflection.singularize(resource)
+)}Edit = props => (
     <Edit {...props}>
 ${inferredChild.getRepresentation()}
     </Edit>
diff --git ORI/react-admin/packages/ra-ui-materialui/src/detail/ShowGuesser.tsx ALT/react-admin/packages/ra-ui-materialui/src/detail/ShowGuesser.tsx
index 4637e65..10f4b00 100644
--- ORI/react-admin/packages/ra-ui-materialui/src/detail/ShowGuesser.tsx
+++ ALT/react-admin/packages/ra-ui-materialui/src/detail/ShowGuesser.tsx
@@ -35,8 +35,8 @@ const ShowViewGuesser = props => {
                     `Guessed Show:
 
 export const ${inflection.capitalize(
-                        inflection.singularize(resource)
-                    )}Show = props => (
+    inflection.singularize(resource)
+)}Show = props => (
     <Show {...props}>
 ${inferredChild.getRepresentation()}
     </Show>
diff --git ORI/react-admin/packages/ra-ui-materialui/src/list/ListGuesser.tsx ALT/react-admin/packages/ra-ui-materialui/src/list/ListGuesser.tsx
index fd60b3b..a37ba86 100644
--- ORI/react-admin/packages/ra-ui-materialui/src/list/ListGuesser.tsx
+++ ALT/react-admin/packages/ra-ui-materialui/src/list/ListGuesser.tsx
@@ -64,8 +64,8 @@ const ListViewGuesser = (props: Omit<ListViewProps, 'children'>) => {
                     `Guessed List:
 
 export const ${inflection.capitalize(
-                        inflection.singularize(resource)
-                    )}List = props => (
+    inflection.singularize(resource)
+)}List = props => (
     <List {...props}>
 ${inferredChild.getRepresentation()}
     </List>

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

No branches or pull requests

1 participant