chore(linting): 🔧 Update Clippy and rustfmt configurations to enforce stricter linting and formatting rules
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
d0ec5ab775
commit
0ad51fc91b
2 changed files with 13 additions and 0 deletions
4
clippy.toml
Normal file
4
clippy.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
cognitive-complexity-threshold = 30
|
||||
too-many-arguments-threshold = 7
|
||||
too-many-lines-threshold = 200
|
||||
type-complexity-threshold = 250
|
||||
9
rustfmt.toml
Normal file
9
rustfmt.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
edition = "2021"
|
||||
max_width = 100
|
||||
use_small_heuristics = "Max"
|
||||
imports_granularity = "Crate"
|
||||
group_imports = "StdExternalCrate"
|
||||
reorder_imports = true
|
||||
reorder_modules = true
|
||||
trailing_comma = "Vertical"
|
||||
match_arm_blocks = true
|
||||
Loading…
Add table
Reference in a new issue