mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-16 06:39:46 +02:00
11087c8411
Hi all! This CL fixes #1093: * Avoids including current false-positives in the checking of typos * Excludes localization-related files, as `typos` works with English words * Fixes existing typos caught in the repo Tested this in CI with a typo and it showed up in the list of actions! --------- Co-authored-by: Martin Geisler <martin@geisler.net>
17 lines
365 B
TOML
17 lines
365 B
TOML
[default.extend-identifiers]
|
|
# False positives.
|
|
mis = "mis"
|
|
MIS = "MIS"
|
|
inout = "inout"
|
|
BARs = "BARs"
|
|
|
|
[type.po]
|
|
# Localized content should not be checked for typos. English
|
|
# in these files should be validated manually.
|
|
extend-glob = ["*.po"]
|
|
check-file = false
|
|
|
|
[files]
|
|
# Typos in third party packages should be fixed upstream.
|
|
extend-exclude = ["third_party/*"]
|