forked from ReamLabs/ream
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding clippy and rustfmt config (ReamLabs#6)
* adding clippy config * adding extra lines
- Loading branch information
1 parent
687f6f5
commit 8fdf91d
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |