Typo-check .hidden files (#16035)

# Objective

Typo-check .hidden files like `.cargo/config_fast_builds.toml` and
`.github/*`. Context: https://github.com/bevyengine/bevy/pull/16025.

## Solution

- Add `ignore-hidden = false` to `typos.toml` to override the default
value of `true`.
- Add an exception to keep `.git/` ignored in `typos.toml`.
- Fix newly-found typos so CI passes.

## Testing

Running `typos` locally finds no further typos.
This commit is contained in:
Ben Frankel 2024-10-20 20:13:14 +03:00 committed by GitHub
parent bad98f6c4d
commit b0fd3d524f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -72,7 +72,7 @@ jobs:
run: cargo run -p ci -- lints
miri:
# Explicity use macOS 14 to take advantage of M1 chip.
# Explicitly use macOS 14 to take advantage of M1 chip.
runs-on: macos-14
timeout-minutes: 60
steps:
@ -254,7 +254,7 @@ jobs:
echo 'You can find the extension here: https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode'
run-examples-macos-metal:
# Explicity use macOS 14 to take advantage of M1 chip.
# Explicitly use macOS 14 to take advantage of M1 chip.
runs-on: macos-14
timeout-minutes: 30
steps:

View file

@ -3,7 +3,9 @@ extend-exclude = [
"*.pbxproj", # metadata file
"*.patch", # Automatically generated files that should not be manually modified.
"*.bin", # Binary files
".git/", # Version control files
]
ignore-hidden = false
# Corrections take the form of a key/value pair. The key is the incorrect word
# and the value is the correct word. If the key and value are the same, the