Skip to content

Commit

Permalink
Merge pull request #392 from BojanStipic/renovate/prettier-3.x
Browse files Browse the repository at this point in the history
Update dependency prettier to v3
  • Loading branch information
BojanStipic committed Aug 1, 2023
2 parents 6ecf2e1 + 90329dc commit 45ed499
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 14 deletions.
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"plugins": ["@trivago/prettier-plugin-sort-imports"],
"importOrder": ["<THIRD_PARTY_MODULES>", "^\\."],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "^2.8.8"
"prettier": "^3.0.0"
},
"overrides": {
"@babel/core": "7.22.9"
Expand Down
2 changes: 1 addition & 1 deletion src/blog/01-introduction-to-webassembly-and-rust/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ export function length(s) {
const [ptr0, len0] = passStringToWasm0(
s,
wasm.__wbindgen_malloc,
wasm.__wbindgen_realloc
wasm.__wbindgen_realloc,
);

const ret = wasm.length(ptr0, len0);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Comments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const Comments: FC<CommentsProps> = ({ title }) => {
a{" "}
<Link
href={`https://github.com/BojanStipic/website/discussions/categories/post-comments?discussions_q=${encodeURIComponent(
title
title,
)}`}
isExternal={true}
color={useAccentColor()}
Expand Down
3 changes: 2 additions & 1 deletion src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export const Footer: FC = () => {
return (
<Card as="footer" variant="outline" p={4}>
<Text fontSize="sm" fontWeight="light" textAlign="center">
Copyright © 2021-2023 Bojan Stipic | Website source code is available on{" "}
Copyright © 2021-2023 Bojan Stipic | Website source code is available
on{" "}
<Link
href="https://github.com/BojanStipic/website"
isExternal={true}
Expand Down
2 changes: 1 addition & 1 deletion src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const theme = extendTheme(
}),
},
},
withDefaultColorScheme({ colorScheme: "brand" })
withDefaultColorScheme({ colorScheme: "brand" }),
);

export default theme;

0 comments on commit 45ed499

Please sign in to comment.