mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-11 00:24:01 +01:00
1 parent
de9928a5f8
commit
5aa093dc25
2 files changed
+10
-9
No files matched your search
@@ -7,6 +7,15 @@
|
||||
pub(crate) const NO_CHECK_TYPES: &[&str] = &["cert", "lock"];
|
||||
|
||||
pub(crate) const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
|
||||
(
|
||||
"cpp",
|
||||
StaticDictConfig {
|
||||
ignore_idents: &[
|
||||
"countr_one", // `std::countr_one`
|
||||
],
|
||||
ignore_words: &[],
|
||||
},
|
||||
),
|
||||
(
|
||||
"css",
|
||||
StaticDictConfig {
|
||||
|
||||
@@ -1,12 +1,4 @@
|
||||
bin.name = "typos"
|
||||
stdin = ""
|
||||
stdout = """
|
||||
error: `countr` should be `counter`, `contour`, `country`, `county`
|
||||
--> ./sample.cpp:3:10
|
||||
|
|
||||
3 | std::countr_one(i);
|
||||
| ^^^^^^
|
||||
|
|
||||
"""
|
||||
stdout = ""
|
||||
stderr = ""
|
||||
status.code = 2
|
||||
Reference in new issue
Block a user