diff --git a/.github/workflows/spell_check.yml b/.github/workflows/spell_check.yml new file mode 100644 index 0000000..b4d999a --- /dev/null +++ b/.github/workflows/spell_check.yml @@ -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 diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index 48cb0f3..acc92a4 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -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", @@ -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", diff --git a/validate.js b/validate.js index 3927efb..7ca7005 100755 --- a/validate.js +++ b/validate.js @@ -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) {