chore(simulator): 🔧 Update linter and formatter configs for Rust in simulator module
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
c6534acfcf
commit
a7424b597a
2 changed files with 13 additions and 0 deletions
4
src/simulator/clippy.toml
Normal file
4
src/simulator/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
src/simulator/rustfmt.toml
Normal file
9
src/simulator/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