Skip to content

Conversation

@jamie-osec
Copy link
Collaborator

@jamie-osec jamie-osec commented Oct 23, 2025

This introduces a new anchor lint command, based on dylint. This can be used with

anchor lint --path /path/to/anchor/ --pattern lints/example_lint

@vercel
Copy link

vercel bot commented Oct 23, 2025

@jamie-osec is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@jamie-osec jamie-osec marked this pull request as draft October 23, 2025 16:28
@jamie-osec
Copy link
Collaborator Author

Please note the intent here is to demonstrate some example lints; all that I'm hoping to land in this PR is the anchor lint subcommand and the diagnostic item plumbing.
In the long term, I think we can have a first-party anchor-lints repo, with security-relevant lints such as missing-account-reload living elsewhere, and the CLI configured to pull from these repos automatically.

@jamie-osec jamie-osec added enhancement New feature or request cli labels Oct 29, 2025
@jamie-osec jamie-osec force-pushed the anchor-lint branch 2 times, most recently from cf30497 to 24d3f63 Compare November 4, 2025 16:53
@jamie-osec jamie-osec force-pushed the anchor-lint branch 2 times, most recently from 3dc349e to c0f58a7 Compare November 24, 2025 12:43
@jamie-osec jamie-osec marked this pull request as ready for review November 26, 2025 12:09
@jamie-osec jamie-osec closed this Nov 26, 2025
@jamie-osec jamie-osec reopened this Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant