mirror of
https://github.com/crate-ci/typos.git
synced 2025-01-08 15:54:47 -05:00
parent
83dc9dcb5f
commit
29ebe5ab48
1 changed files with 9 additions and 0 deletions
|
@ -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![
|
||||
|
|
Loading…
Reference in a new issue