Fix: make biome tests pass, lint code, upgrade litesvm to fix Native / Pinocchio tests.#550
Open
mikemaccana wants to merge 6 commits intosolana-developers:mainfrom
Open
Fix: make biome tests pass, lint code, upgrade litesvm to fix Native / Pinocchio tests.#550mikemaccana wants to merge 6 commits intosolana-developers:mainfrom
mikemaccana wants to merge 6 commits intosolana-developers:mainfrom
Conversation
…unnecessary prettierrc files
- 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
…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>
…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>
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>
39d5a08 to
3b74ffb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commits
Make 'biome check' (formatting and linting) pass
package.jsonpin with whatpnpxwas already fetching). Fixbiome check --apply→--write(flag renamed in v2) in the lint-staged pre-commit hookanyfor generated types get per-linebiome-ignorecomments, we'll change to LiveSVM tests soon.Fix: this project uses pnpm, use it
setup-node@v5tries to cache pnpm (triggered by thepackageManagerfield) before pnpm is installed, causing "pnpm: command not found". Fixed by addingpnpm/action-setup@v4beforesetup-nodein both workflows.yarn.lock(the repo uses pnpm)Fix: Native and Pinocchio tests by upgrading LiteSVM
litesvm 0.8.1fails to compile against current Solana stable because internal APIs changed (ProgramCacheForTxBatch.environmentsremoved,TransactionErrorlifetime added). v0.11.0 has been updated for these changes.All workflows green on mikemaccana/program-examples fix-biome-errors
🤖 Generated with Claude Code