Skip to content

custom linting framework + freeze struct enforcement lint#724

Merged
unconst merged 57 commits intodevnet-readyfrom
sam-custom-lints
Aug 16, 2024
Merged

custom linting framework + freeze struct enforcement lint#724
unconst merged 57 commits intodevnet-readyfrom
sam-custom-lints

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
@unconst unconst merged commit 5bbe575 into devnet-ready Aug 16, 2024
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