Commit 2f7d757
Fix: make biome tests pass, lint code, upgrade litesvm to fix Native / Pinocchio tests. (#550)
* Fix: this repo uses biome, configure vscode to use biome, and remove unnecessary prettierrc files
* Fix: this project uses pnpm, remove yarn.lock file.
* Fix: 'biome check' now passes. Fix all lint errors.
- Biome is the existing TS formatter / linter, however it was failing.
- Upgrade to Biome V2, run biome on GitHub Actions (it's already used in a precommit hook)
- Add a biome config file to match what most of the existing code uses, plus Anchor defaults
- Add missing Tailwind options to check CSS files with Tailwind directives
- Skip some of the 'any' tests in Anchor TS files - these will be moved to LiteSVM
* Fix: add pnpm/action-setup before setup-node in Native and Pinocchio workflows
packageManager field in package.json causes setup-node to look for pnpm
before it is installed, failing with "Unable to locate executable file: pnpm".
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Fix: upgrade litesvm from 0.8.1 to 0.11.0 to fix compilation against current Solana stable
litesvm 0.8.1 failed to compile against current Solana stable because internal
Solana APIs changed (ProgramCacheForTxBatch.environments field removed,
TransactionError lifetime added). litesvm 0.11.0 has been updated for these
API changes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Fix: use 🤥 emoji for Pinocchio (lying face / growing nose)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix: use inline emoji instead of GitHub shortcodes in README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a47f691 commit 2f7d757
441 files changed
Lines changed: 9216 additions & 9285 deletions
File tree
- .github/workflows
- .vscode
- basics
- account-data
- anchor
- tests
- native
- program
- tests
- pinocchio
- program
- tests
- checking-accounts
- anchor
- tests
- native
- program
- tests
- pinocchio
- program
- tests
- close-account
- anchor
- migrations
- tests
- native
- program
- tests
- ts
- instructions
- state
- pinocchio
- program
- tests
- counter
- anchor
- migrations
- tests
- mpl-stack
- tests
- ts
- generated
- accounts
- instructions
- native
- program
- tests
- ts
- accounts
- instructions
- pinocchio
- program
- tests
- create-account
- anchor
- tests
- native
- program
- tests
- pinocchio
- program
- tests
- cross-program-invocation
- anchor
- migrations
- tests
- native
- programs/hand
- tests
- favorites
- anchor
- migrations
- tests
- native
- program
- tests
- pinocchio
- program
- tests
- hello-solana
- anchor
- tests
- native
- program
- tests
- pinocchio/tests
- pda-rent-payer
- anchor
- tests
- native/tests
- pinocchio/tests
- processing-instructions
- anchor
- tests
- native
- program
- tests
- pinocchio
- program
- tests
- program-derived-addresses
- anchor
- tests
- native
- program
- tests
- pinocchio
- program
- tests
- realloc
- anchor
- migrations
- tests
- native
- program
- tests
- ts
- instructions
- state
- util
- pinocchio
- program
- tests
- rent
- anchor
- tests
- native
- program
- tests
- pinocchio
- program
- tests
- repository-layout
- anchor
- tests
- native
- program
- tests
- transfer-sol
- anchor
- tests
- native
- program
- tests
- pinocchio
- program
- tests
- compression
- cnft-burn/anchor
- migrations
- tests
- ReadApi
- utils
- cnft-vault/anchor
- tests
- scripts
- cutils/anchor
- tests
- utils
- scripts
- lib
- tokens
- create-token
- anchor
- tests
- native
- tests
- escrow
- anchor
- migrations
- tests
- native/tests
- external-delegate-token-master/anchor
- tests
- nft-minter
- anchor
- tests
- native/tests
- nft-operations/anchor
- tests
- pda-mint-authority
- anchor
- tests
- native/tests
- spl-token-minter
- anchor
- tests
- native/tests
- token-2022
- basics/anchor
- migrations
- tests
- cpi-guard/anchor
- migrations
- tests
- default-account-state
- anchor
- migrations
- tests
- native/tests
- group/anchor
- migrations
- tests
- immutable-owner/anchor
- migrations
- tests
- interest-bearing/anchor
- migrations
- tests
- memo-transfer/anchor
- migrations
- tests
- metadata/anchor
- migrations
- tests
- mint-close-authority
- anchor
- migrations
- tests
- native/tests
- multiple-extensions/native/tests
- nft-meta-data-pointer/anchor-example
- anchor
- migrations
- tests
- app
- components
- contexts
- idl
- pages
- api
- styles
- utils
- unity/ExtensionNft/Assets/TextMesh Pro/Sprites
- non-transferable
- anchor
- migrations
- tests
- native/tests
- permanent-delegate/anchor
- migrations
- tests
- transfer-fee
- anchor
- migrations
- tests
- native/tests
- transfer-hook
- account-data-as-seed/anchor
- migrations
- tests
- allow-block-list-token
- anchor
- src
- tests
- src
- app
- account
- [address]
- config
- create-token
- manage-token
- [address]
- components
- abl-token
- account
- cluster
- dashboard
- solana
- ui
- lib
- counter/anchor
- migrations
- tests
- hello-world/anchor
- migrations
- tests
- pblock-list
- pino
- sdk/ts/src
- accounts
- instructions
- pdas
- programs
- sdk/ts/src
- accounts
- instructions
- pdas
- programs
- transfer-cost/anchor
- migrations
- tests
- transfer-switch/anchor
- tests
- whitelist/anchor
- migrations
- tests
- token-fundraiser/anchor
- tests
- token-swap/anchor
- tests
- transfer-tokens
- anchor
- tests
- native/tests
- tools/shank-and-solita/native
- tests
- generated
- accounts
- instructions
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
192 | 194 | | |
193 | 195 | | |
194 | 196 | | |
195 | | - | |
196 | | - | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
192 | 194 | | |
193 | 195 | | |
194 | 196 | | |
195 | | - | |
196 | | - | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments