Skip to content
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

Add codespell action in CI + fix typos #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
13 changes: 13 additions & 0 deletions .github/workflows/spell_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Spell check

on: [push, pull_request]

jobs:
spell-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@v1
with:
check_filenames: true
check_hidden: true
4 changes: 2 additions & 2 deletions api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@
{
"name": "starknet_estimateFee",
"summary": "estimate the fee for of StarkNet transactions",
"description": "estimates the resources required by transactions when applyed on a given state",
"description": "estimates the resources required by transactions when applied on a given state",
"params": [
{
"name": "request",
Expand Down Expand Up @@ -616,7 +616,7 @@
},
{
"name": "starknet_syncing",
"summary": "Returns an object about the sync status, or false if the node is not synching",
"summary": "Returns an object about the sync status, or false if the node is not syncing",
"params": [],
"result": {
"name": "syncing",
Expand Down
2 changes: 1 addition & 1 deletion validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function fetchExternalRefsFor(docToParse) {
* For a given dereferencer object, make sure its initial refs don't include refs that are already
* in the ref cache it has. So it won't try to resolve these.
*
* @param {Dereferencer} dereffer The dereferncer object
* @param {Dereferencer} dereffer The dereferencer object
* @returns The amended dereferencer.
*/
function fixRefs(dereffer) {
Expand Down