mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-23 21:57:55 +01:00
1 parent
83dc9dcb5f
commit
29ebe5ab48
1 file changed
+9
@@ -167,6 +167,15 @@ impl TypeEngineConfig {
|
||||
|
||||
pub fn patterns(&self) -> impl Iterator<Item = (kstring::KString, GlobEngineConfig)> {
|
||||
let mut patterns = self.patterns.clone();
|
||||
patterns
|
||||
.entry("lock".into())
|
||||
.or_insert_with(|| GlobEngineConfig {
|
||||
extend_glob: Vec::new(),
|
||||
engine: EngineConfig {
|
||||
check_file: Some(false),
|
||||
..Default::default()
|
||||
},
|
||||
});
|
||||
patterns.entry("cert".into()).or_insert_with(|| {
|
||||
GlobEngineConfig {
|
||||
extend_glob: vec![
|
||||
|
||||
Reference in new issue
Block a user