Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 13 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
6 changes: 6 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

echo "🔍 Running automatic fixes before pushing..."
pnpm fix
Comment thread
krofax marked this conversation as resolved.
echo "✅ Fixes applied - your contribution is now ready for review!"
Comment thread
krofax marked this conversation as resolved.
Comment thread
krofax marked this conversation as resolved.
19 changes: 16 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"lint": "eslint . --ext mdx --max-warnings 0 && pnpm spellcheck:lint && pnpm check-breadcrumbs && pnpm check-redirects && pnpm validate-metadata && pnpm link-checker",
"fix": "eslint . --ext mdx --fix && pnpm spellcheck:fix && pnpm breadcrumbs && pnpm fix-redirects && pnpm metadata-batch-cli",
"fix": "eslint . --ext mdx --fix && pnpm spellcheck:fix && pnpm fix-redirects",
"spellcheck:lint": "cspell lint \"**/*.mdx\"",
"spellcheck:fix": "cspell --words-only --unique \"**/*.mdx\" | sort --ignore-case | uniq > words.txt",
"breadcrumbs": "NODE_NO_WARNINGS=1 npx ts-node-esm --skip-project utils/create-breadcrumbs.ts",
Expand All @@ -21,8 +21,19 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"postbuild": "next-sitemap"
"postbuild": "next-sitemap",
"prepare": "husky"
},
"lint-staged": {
"**/*.mdx": [
"eslint --max-warnings 0",
"cspell lint"
],
"**/*": [
"pnpm fix-redirects",
"pnpm link-checker"
]
},
"dependencies": {
"@eth-optimism/contracts-ts": "^0.17.0",
"@eth-optimism/tokenlist": "^9.0.9",
Expand Down Expand Up @@ -58,6 +69,8 @@
"ethers": "^5",
"globby": "^11.0.4",
"gray-matter": "^4.0.3",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"remark": "^15.0.1",
"remark-code-import": "^1.2.0",
"remark-frontmatter": "^5.0.0",
Expand All @@ -83,4 +96,4 @@
"nextra@2.13.2": "patches/nextra@2.13.2.patch"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Here you'll estimate the cost of a simple transaction that sends a small amount
</Steps>

<Callout type="info">
Estimates will never be entirely accurate due to network conditions and gas price fluctuations, but they should be close to the actual costs.
Estimates will never be entirely accurate due to network conditions and gas price fluctuation, but they should be close to the actual costs.
</Callout>

## Next steps
Expand Down
Loading