subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

lint check to disallow implicit pallet indexing

Open sam0x17 opened this issue 1 year ago • 0 comments

Pallet indexing in construct_runtime! has been a footgun recently. It would be desirable if we could just disable not using explicit pallet indexing. This can be done with a custom lint.

This is a large item because it requires fully parsing construct_runtime! invocations from within our linting environment

sam0x17 avatar Sep 06 '24 15:09 sam0x17