for 13621 (Fix template literal indention)
fisker opened this issue · comments
fisker Cheung commented
fisker Cheung commented
run #13621 vs prettier/prettier#next
github-actions commented
fisker Cheung commented
run #13626 vs prettier/prettier#next
github-actions commented
prettier/prettier#13626 VS prettier/prettier@next
- babel/babel@4e0e5f9
- vuejs/eslint-plugin-vue@508ea0e
- excalidraw/excalidraw@49172ac
- prettier/prettier@e949a54
- marmelab/react-admin@5ae855a
- typescript-eslint/typescript-eslint@9d47a8b
- vega/vega-lite@16bc913
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>