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

Lint 6: duplicate-mutable-accounts #6

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
40bcc1d
setup boilerplate and tests for 6-dup
oslfmt Jul 11, 2022
dc1242f
implement 6-duplicate-mutable-accounts lint
oslfmt Jul 11, 2022
f012a32
drafting of upgrade
oslfmt Jul 14, 2022
e9cd6d2
complete working impl of lint-6 for anchor constraint checks
oslfmt Jul 16, 2022
cef270d
clean up code and add rustdocs
oslfmt Jul 16, 2022
a95e0f8
add tests for lint-6
oslfmt Jul 16, 2022
6a309af
make lint more efficient by not storing generated streams
oslfmt Jul 18, 2022
30ef2a0
make lint-6v1 handle anchor constraints that are not comma-delimited
oslfmt Jul 19, 2022
a670bab
fix lint spanning deduplication issue
oslfmt Jul 19, 2022
2149980
implement lint-6 v2 to handle constraints not in #[account] macro
oslfmt Jul 17, 2022
70d7c57
start merging lint 6 into one lint
oslfmt Jul 18, 2022
5abb5e3
implement lint6v2 to better handle more than 2 identical accounts
oslfmt Jul 18, 2022
14e850e
merge lint-6v2 into lint-6v1, creating single lint
oslfmt Jul 19, 2022
af02a30
fix lint-6 tests and add readme
oslfmt Jul 19, 2022
bd2e0b9
remove lint6v2
oslfmt Jul 19, 2022
d1fe4c5
make ci happy
oslfmt Jul 19, 2022
3e8785e
fix clippy errors
oslfmt Jul 19, 2022
dc3d01d
Remove .gitignore file; add Cargo.lock
smoelius Jul 21, 2022
5ac4c86
fix lint messages when no constraints at all to recommend anchor cons…
oslfmt Jul 21, 2022
1371f3f
clean up is_substream logic
oslfmt Jul 22, 2022
f2aa39e
rename lint 6
oslfmt Jul 26, 2022
8a3dfe4
upgrade toolchain
oslfmt Aug 12, 2022
5398544
Adjust path names
smoelius Aug 14, 2022
e3d777b
Use shared target directory
smoelius Aug 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions lints/duplicate_mutable_accounts/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[build]
target-dir = "../../target"

[target.aarch64-apple-darwin]
linker = "dylint-link"

[target.x86_64-apple-darwin]
linker = "dylint-link"

[target.x86_64-unknown-linux-gnu]
linker = "dylint-link"

[target.x86_64-pc-windows-msvc]
linker = "dylint-link"
Loading