forked from MystenLabs/sui
-
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.
rust: introduce xclippy project alias
Introduce 'cargo xclippy' alias for better control of enabling and disabling clippy lints project-wide.
- Loading branch information
Showing
3 changed files
with
14 additions
and
8 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,10 @@ | ||
[alias] | ||
# Collection of project wide clippy lints. This is done via an alias because | ||
# clippy doesn't currently allow for specifiying project-wide lints in a | ||
# configuration file. This is a similar workaround to the ones presented here: | ||
# <https://github.com/EmbarkStudios/rust-ecosystem/issues/59> | ||
xclippy = [ | ||
"clippy", "--all-targets", "--", | ||
"-Wclippy::all", | ||
"-Wclippy::disallowed_methods", | ||
] |
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