Improve crate-ci/typos configuration (#3106)

This commit is contained in:
Tobias Bieniek 2024-12-26 22:05:03 +01:00 committed by GitHub
parent f6594aaf7b
commit a5de589274
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 11 deletions

View file

@ -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

View file

@ -1,4 +0,0 @@
[default.extend-identifiers]
# Typos in previous type names, mentioned in changelog
DefaultOnFailedUpdgrade = "DefaultOnFailedUpdgrade"
OnFailedUpdgrade = "OnFailedUpdgrade"

View file

@ -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"

View file

@ -1,6 +0,0 @@
[files]
extend-exclude = ["Cargo.toml"]
[default.extend-identifiers]
DefaultOnFailedUpdgrade = "DefaultOnFailedUpdgrade"
OnFailedUpdgrade = "OnFailedUpdgrade"