mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-27 15:00:31 +01:00
Improve crate-ci/typos
configuration (#3106)
This commit is contained in:
parent
f6594aaf7b
commit
a5de589274
4 changed files with 7 additions and 11 deletions
2
.github/workflows/CI.yml
vendored
2
.github/workflows/CI.yml
vendored
|
@ -257,4 +257,4 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check the spelling of the files in our repo
|
||||
uses: crate-ci/typos@v1.20.8
|
||||
uses: crate-ci/typos@v1.28.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"
|
Loading…
Reference in a new issue