-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Format toml files * feat: Add `dprint.json` * feat: Add `dprint` check CI job * refactor: Use `toml` defaults * refactor: Remove framework docs from excluded dirs * feat: Add documentation on `dprint`
- Loading branch information
1 parent
a07210c
commit 28bb940
Showing
228 changed files
with
1,529 additions
and
1,568 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
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,16 +1,16 @@ | ||
too-many-arguments-threshold = 20 | ||
disallowed-methods = [ | ||
# we use tracing with the log feature instead of the log crate. | ||
{ path = "log::info", reason = "use tracing::info instead" }, | ||
{ path = "log::debug", reason = "use tracing::debug instead" }, | ||
{ path = "log::error", reason = "use tracing::error instead" }, | ||
{ path = "log::warn", reason = "use tracing::warn instead" }, | ||
# unbounded channels are for expert use only | ||
{ path = "tokio::sync::mpsc::unbounded_channel", reason = "use a bounded channel instead" }, | ||
{ path = "futures::channel::mpsc::unbounded", reason = "use a bounded channel instead" }, | ||
{ path = "futures_channel::mpsc::unbounded", reason = "use a bounded channel instead" }, | ||
# known to cause blocking issues | ||
{ path = "futures::executor::block_on", reason = "use tokio::runtime::runtime::Runtime::block_on instead"}, | ||
# bincode::deserialize_from is easy to shoot your foot with | ||
{ path = "bincode::deserialize_from", reason = "use bincode::deserialize instead" }, | ||
# we use tracing with the log feature instead of the log crate. | ||
{ path = "log::info", reason = "use tracing::info instead" }, | ||
{ path = "log::debug", reason = "use tracing::debug instead" }, | ||
{ path = "log::error", reason = "use tracing::error instead" }, | ||
{ path = "log::warn", reason = "use tracing::warn instead" }, | ||
# unbounded channels are for expert use only | ||
{ path = "tokio::sync::mpsc::unbounded_channel", reason = "use a bounded channel instead" }, | ||
{ path = "futures::channel::mpsc::unbounded", reason = "use a bounded channel instead" }, | ||
{ path = "futures_channel::mpsc::unbounded", reason = "use a bounded channel instead" }, | ||
# known to cause blocking issues | ||
{ path = "futures::executor::block_on", reason = "use tokio::runtime::runtime::Runtime::block_on instead" }, | ||
# bincode::deserialize_from is easy to shoot your foot with | ||
{ path = "bincode::deserialize_from", reason = "use bincode::deserialize instead" }, | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[default] | ||
extend-ignore-re = [ | ||
"[a-zA-Z0-9]{44}" | ||
"[a-zA-Z0-9]{44}", | ||
] | ||
|
||
[default.extend-words] | ||
|
Oops, something went wrong.