[default]
extend-ignore-re = [
  # git commit hashes in CHANGELOG.md
  "\\[[0-9a-f]{7}\\]",
  # Line ignore with trailing # spellchecker:disable-line
  "(?Rm)^.*(#|--|//)\\s*spellchecker:disable-line$",
  # ignore typ in identifiers
  "(?i)\\b(?:\\w*typ|typ_\\w*)\\b",
]

[default.extend-identifiers]
typ = "typ"

[files]
extend-exclude = [
  "CHANGELOG.md",
  "*.flake",
  "*.yaml",
  "vim_lexer.rs",
  "shell_lexer.rs",
  "sql_lexer.rs",
  "util.lua",
  "test.rs"
]
