mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +02:00
Improve crate-ci/typos configuration (#3106)
This commit is contained in:
@@ -257,4 +257,4 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check the spelling of the files in our repo
|
||||
uses: crate-ci/[email protected]0.8
|
||||
uses: crate-ci/[email protected]8.4
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
[default.extend-identifiers]
|
||||
# Typos in previous type names, mentioned in changelog
|
||||
DefaultOnFailedUpdgrade = "DefaultOnFailedUpdgrade"
|
||||
OnFailedUpdgrade = "OnFailedUpdgrade"
|
||||
@@ -47,3 +47,9 @@ uninlined_format_args = "warn"
|
||||
unnested_or_patterns = "warn"
|
||||
unused_self = "warn"
|
||||
verbose_file_reads = "warn"
|
||||
|
||||
# configuration for https://github.com/crate-ci/typos
|
||||
[workspace.metadata.typos.default.extend-identifiers]
|
||||
# These have been fixed in the past, but are still present in the changelog.
|
||||
DefaultOnFailedUpdgrade = "DefaultOnFailedUpdgrade"
|
||||
OnFailedUpdgrade = "OnFailedUpdgrade"
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
[files]
|
||||
extend-exclude = ["Cargo.toml"]
|
||||
|
||||
[default.extend-identifiers]
|
||||
DefaultOnFailedUpdgrade = "DefaultOnFailedUpdgrade"
|
||||
OnFailedUpdgrade = "OnFailedUpdgrade"
|
||||
Reference in New Issue
Block a user