-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
This new subcommand should contain checks for certain structural decisions that we recommend from cyberfabric. For instance:
Cargo.tomlexists in the path and has a[workspace]entryCargo.tomlhas certainlints(let's say for now what I declared in)Lines 45 to 54 in ae427b9
[workspace.lints.rust] unsafe_code = "forbid" [workspace.lints.clippy] pedantic = { level = "warn", priority = -1 } nursery = { level = "warn", priority = -1 } struct_excessive_bools = "allow" missing_errors_doc = "allow" unwrap_used = "deny" expect_used = "deny" - There is a folder called
modulesand it has rust crates inside, all of them withsrc/module.rs - There is a folder called
configwithymloryamlfiles.
Please, make sure to make them in a generic way(fabric design), so we can easily plug more checks without changing much of the general logic.
Also make sure that this command must have checks that is not related to rust code. For rust code will be lint subcommand with dylint rules, that are made specifically for that purpose.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed