mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-10 16:23:52 +01:00
1 parent
06b99d1d14
commit
544f5bc304
2 files changed
+10
-13
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)] = &[
|
||||
(
|
||||
"bitbake",
|
||||
StaticDictConfig {
|
||||
ignore_idents: &[],
|
||||
ignore_words: &[
|
||||
"PN", // Package Name variable
|
||||
],
|
||||
},
|
||||
),
|
||||
(
|
||||
"cpp",
|
||||
StaticDictConfig {
|
||||
|
||||
@@ -1,16 +1,4 @@
|
||||
bin.name = "typos"
|
||||
status.code = 2
|
||||
stdin = ""
|
||||
stdout = """
|
||||
error: `PN` should be `ON`
|
||||
╭▸ ./foo.bb:1:11
|
||||
│
|
||||
1 │ LICENSE:${PN} = "GPL-2.0.only"; FOO:pn-myrecipe = "myrecipe-specific value"
|
||||
╰╴ ━━
|
||||
error: `pn` should be `on`
|
||||
╭▸ ./foo.bb:1:37
|
||||
│
|
||||
1 │ LICENSE:${PN} = "GPL-2.0.only"; FOO:pn-myrecipe = "myrecipe-specific value"
|
||||
╰╴ ━━
|
||||
"""
|
||||
stdout = ""
|
||||
stderr = ""
|
||||
Reference in new issue
Block a user