This repository has been archived by the owner on Oct 7, 2022. It is now read-only.
-
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.
Activate non-default lints once for the entire workspace
Using the trick documented here: EmbarkStudios/rust-ecosystem#22 (comment)
- Loading branch information
1 parent
1958f1e
commit 30b883c
Showing
4 changed files
with
19 additions
and
4 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 |
---|---|---|
@@ -1,2 +1,17 @@ | ||
[alias] | ||
xtask = "run --package xtask --" | ||
|
||
[target.'cfg(all())'] | ||
rustflags = [ | ||
"-Wrust_2018_idioms", | ||
"-Wunused_qualifications", | ||
"-Wclippy::cloned_instead_of_copied", | ||
"-Wclippy::dbg_macro", | ||
"-Wclippy::disallowed_method", | ||
"-Wclippy::disallowed_type", | ||
"-Wclippy::str_to_string", | ||
"-Wclippy::todo", | ||
"-Wclippy::unreadable_literal", | ||
"-Wclippy::unseparated_literal_suffix", | ||
"-Wclippy::wildcard_imports", | ||
] |
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
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
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