Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,10 @@ We follow Prettier's strategy for populating their plugins in the object `pretti

```html
<script type="module">
const prettier = await import(
'https://unpkg.com/prettier-plugin-solidity@latest'
);
const prettierSolidity = await import(
'https://unpkg.com/prettier-plugin-solidity@next'
);
const prettier =
await import('https://unpkg.com/prettier-plugin-solidity@latest');
const prettierSolidity =
await import('https://unpkg.com/prettier-plugin-solidity@next');

async function format(code) {
return await prettier.format(code, {
Expand Down
9 changes: 5 additions & 4 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 @@ -106,7 +106,7 @@
"jest-watch-typeahead": "^3.0.1",
"knip": "^5.70.2",
"lines-and-columns": "^2.0.4",
"prettier": "^3.6.2",
"prettier": "^3.7.1",
"solc": "^0.8.30",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
Expand Down