Skip to content

Commit 22f6b90

Browse files
authored
Merge pull request #1393 from epage/pn
fix(config): Don't correct PN for bitbake
2 parents 7436548 + 544f5bc commit 22f6b90

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

crates/typos-cli/src/file_type_specifics.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
pub(crate) const NO_CHECK_TYPES: &[&str] = &["cert", "lock"];
88

99
pub(crate) const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
10+
(
11+
"bitbake",
12+
StaticDictConfig {
13+
ignore_idents: &[],
14+
ignore_words: &[
15+
"PN", // Package Name variable
16+
],
17+
},
18+
),
1019
(
1120
"cpp",
1221
StaticDictConfig {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
LICENSE:${PN} = "GPL-2.0.only"; FOO:pn-myrecipe = "myrecipe-specific value"

0 commit comments

Comments
 (0)