feat: Unified configurations #2963
lint.yml
on: pull_request
Check format with rustfmt
28s
Check lint with clippy
1m 38s
Check format with biome
14s
Check lint with biome
14s
Typecheck with tsc
21s
Annotations
10 errors and 10 warnings
Check lint with clippy:
client/file-transfer-service/src/handler.rs#L795
cannot find derive macro `Deserialize` in this scope
|
Check lint with clippy:
client/blockchain-service/src/handler.rs#L1719
cannot find derive macro `Deserialize` in this scope
|
Check lint with clippy:
client/blockchain-service/src/handler.rs#L1040
method `handle_block_import_notification` is not a member of trait `Actor`
|
Check lint with clippy:
client/blockchain-service/src/handler.rs#L1088
method `pre_block_processing_checks` is not a member of trait `Actor`
|
Check lint with clippy:
client/blockchain-service/src/handler.rs#L1098
method `handle_initial_sync` is not a member of trait `Actor`
|
Check lint with clippy:
client/blockchain-service/src/handler.rs#L1179
method `process_block_import` is not a member of trait `Actor`
|
Check lint with clippy:
client/blockchain-service/src/handler.rs#L1541
method `handle_finality_notification` is not a member of trait `Actor`
|
Check lint with clippy:
client/blockchain-service/src/lib.rs#L36
no function or associated item named `new` found for struct `handler::BlockchainService` in the current scope
|
Check lint with clippy:
client/blockchain-service/src/handler.rs#L232
no method named `handle_block_import_notification` found for struct `handler::BlockchainService` in the current scope
|
Check lint with clippy:
client/blockchain-service/src/handler.rs#L236
no method named `handle_finality_notification` found for struct `handler::BlockchainService` in the current scope
|
Check lint with clippy:
pallets/randomness/src/benchmarking.rs#L6
bound is defined in more than one place
|
Check lint with clippy:
pallets/randomness/src/lib.rs#L198
using `map_err` over `inspect_err`
|
Check lint with clippy:
pallets/providers/src/benchmarking.rs#L581
using `clone` on type `<T as Config>::ProviderId` which implements the `Copy` trait
|
Check lint with clippy:
pallets/providers/src/lib.rs#L1557
using `map_err` over `inspect_err`
|
Check lint with clippy:
pallets/proofs-dealer/src/lib.rs#L757
using `map_err` over `inspect_err`
|
Check lint with clippy:
pallets/provider-randomness/src/lib.rs#L577
useless conversion to the same type: `std::collections::btree_set::Difference<'_, <<T as pallet_proofs_dealer::Config>::ProvidersPallet as shp_traits::ReadChallengeableProvidersInterface>::ProviderId>`
|
Check lint with clippy:
pallets/provider-randomness/src/lib.rs#L627
called `expect` on `providers_to_mark` after checking its variant with `is_some`
|
Check lint with clippy:
pallets/provider-randomness/src/lib.rs#L560
using `map_err` over `inspect_err`
|
Check lint with clippy:
pallets/payment-streams/src/lib.rs#L413
using `map_err` over `inspect_err`
|
Check lint with clippy:
pallets/file-system/src/utils.rs#L74
the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable
|