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

custom linting framework + freeze struct enforcement lint #724

Merged
merged 57 commits into from
Aug 16, 2024

Conversation

sam0x17
Copy link
Contributor

@sam0x17 sam0x17 commented Aug 8, 2024

custom linting framework + custom lint that forces us to add #[freeze_struct] to ALL structs in the workspace that have Encode and/or Decode. Re-adds #[freeze_struct] to a number of structs that were missing it including 4-5 that previously had it but it got removed

Fixes #606

Screenshot 2024-08-08 at 12 41 05 AM

@sam0x17 sam0x17 changed the base branch from devnet to devnet-ready August 8, 2024 04:38
@sam0x17 sam0x17 linked an issue Aug 11, 2024 that may be closed by this pull request
4 tasks
@sam0x17 sam0x17 changed the title custom lints / freeze struct improvements custom linting framework + freeze struct enforcement lint Aug 14, 2024
@sam0x17 sam0x17 closed this Aug 14, 2024
@sam0x17
Copy link
Contributor Author

sam0x17 commented Aug 14, 2024

whoops

@sam0x17 sam0x17 reopened this Aug 14, 2024
@sam0x17 sam0x17 requested a review from unconst as a code owner August 14, 2024 17:35
scripts/localnet.sh Outdated Show resolved Hide resolved
support/linting/src/dummy_lint.rs Outdated Show resolved Hide resolved
@unconst unconst merged commit 5bbe575 into devnet-ready Aug 16, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

freeze_struct improvements / custom linting framework
3 participants