-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Comments
fisker
changed the title
for 11103 (Fix template literal indention)
for 13621 (Fix template literal indention)
Oct 12, 2022
run #13621 vs prettier/prettier#next |
run #13626 vs prettier/prettier#next |
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
No description provided.
The text was updated successfully, but these errors were encountered: