Skip to content

Commit

Permalink
feat: adding clippy and rustfmt config (ReamLabs#6)
Browse files Browse the repository at this point in the history
* adding clippy config

* adding extra lines
  • Loading branch information
hopinheimer authored Dec 8, 2024
1 parent 687f6f5 commit 8fdf91d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This feature is in Rust nightly, as of v1.62. The line is added in anticipation.
# Once the feature stabilizes, remove the #[allow(clippy::unwrap_used)] lines in front of every `mod test`
allow-unwrap-in-tests = true
7 changes: 7 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
reorder_imports = true
imports_granularity = "Crate"
group_imports = "StdExternalCrate"
wrap_comments = true
comment_width = 100
normalize_comments = true
format_code_in_doc_comments = true

0 comments on commit 8fdf91d

Please sign in to comment.