Commit 0d1a527
authored
chore: add clippy rules for codebase consistency (#804)
* chore: add clippy rule for inline
* chore: remove newline in Cargo.toml
* ci: add workspace-lints
* chore: separate with newlint in .clippy.toml
* chore: make cargo sort happy
* lint: add wildcard_imports
* lint: add useless_let_if_seq
* lint: add unwrap_used
* lint: add unnecessary_debug_formatting
* lint: add let_and_return
* chore: remove leading dot of clippy.toml1 parent fd0c9d1 commit 0d1a527
File tree
54 files changed
+166
-48
lines changed- .github/workflows
- bin/ream
- crates
- common
- account_manager
- api_types
- beacon
- common
- lean
- chain
- beacon
- lean
- src
- checkpoint_sync
- consensus
- beacon
- src
- electra
- polynomial_commitments
- lean
- misc
- execution_engine
- executor
- fork_choice
- src
- light_client
- metrics
- network_spec
- node
- operation_pool
- polynomial_commitments
- sync
- validator
- beacon
- lean
- crypto
- bls
- keystore
- merkle
- post_quantum
- networking
- discv5
- manager
- src/gossipsub/validate
- p2p
- src
- gossipsub
- beacon
- lean
- network
- beacon
- lean
- req_resp
- syncer
- rpc
- beacon
- common
- lean
- runtime
- storage
- testing
- beacon-api
- ef-tests
- gossip-validation
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
54 files changed
+166
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
64 | 72 | | |
65 | 73 | | |
66 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments