1[files]
 2ignore-files = true
 3ignore-hidden = false
 4extend-exclude = [
 5    ".git/",
 6
 7    # Contributor names aren't typos.
 8    ".mailmap",
 9
10    # File suffixes aren't typos.
11    "crates/theme/src/icon_theme.rs",
12    "crates/extensions_ui/src/extension_suggest.rs",
13
14    # Some countries codes are flagged as typos.
15    "crates/anthropic/src/supported_countries.rs",
16    "crates/google_ai/src/supported_countries.rs",
17    "crates/open_ai/src/supported_countries.rs",
18
19    # Some mock data is flagged as typos.
20    "crates/assistant_tools/src/web_search_tool.rs",
21
22    # Stripe IDs are flagged as typos.
23    "crates/collab/src/db/tests/processed_stripe_event_tests.rs",
24    # Not our typos.
25    "crates/livekit_api/",
26    # Vim makes heavy use of partial typing tables.
27    "crates/vim/",
28    # Editor and file finder rely on partial typing and custom in-string syntax.
29    "crates/file_finder/src/file_finder_tests.rs",
30    "crates/editor/src/editor_tests.rs",
31    # There are some names in the test data that are incorrectly flagged as typos.
32    "crates/git/test_data/blame_incremental_complex",
33    "crates/git/test_data/golden/blame_incremental_complex.json",
34    # We have some base64-encoded data that is incorrectly being flagged.
35    "crates/rpc/src/auth.rs",
36    # glsl isn't recognized by this tool.
37    "extensions/glsl/languages/glsl/",
38    # Windows likes its abbreviations.
39    "crates/gpui/src/platform/windows/directx_renderer.rs",
40    "crates/gpui/src/platform/windows/events.rs",
41    "crates/gpui/src/platform/windows/direct_write.rs",
42    "crates/gpui/src/platform/windows/window.rs",
43    # Some typos in the base mdBook CSS.
44    "docs/theme/css/",
45    # Spellcheck triggers on `|Fixe[sd]|` regex part.
46    "script/danger/dangerfile.ts",
47    # Eval examples for prompts and criteria
48    "crates/eval/src/examples/",
49    # File type extensions are not typos
50    "crates/zed/resources/windows/zed.iss",
51    # typos-cli doesn't understand our `vˇariable` markup
52    "crates/editor/src/hover_links.rs",
53    # typos-cli doesn't understand `setis` is intentional test case
54    "crates/editor/src/code_completion_tests.rs",
55    # Linux repository structure is not a valid text, hence we should not check it for typos
56    "crates/project_panel/benches/linux_repo_snapshot.txt",
57]
58
59[default]
60extend-ignore-re = [
61    'cl\[ist]',
62    '\[lan\]guage',
63    '"ba"',
64    # :/ crates/collab/migrations/20231009181554_add_release_channel_to_rooms.sql
65    "COLUMN enviroment",
66    "doas",
67    # ProtoLS crate with tree-sitter Protobuf grammar.
68    "protols",
69    # x11rb SelectionNotifyEvent struct field
70    "requestor",
71    # macOS version
72    "Big Sur",
73    # Not an actual typo but an intentionally invalid color, in `color_extractor`
74    "#fof",
75    # Stripped version of reserved keyword `type`
76    "typ",
77    # AMD GPU Services
78    "ags",
79    # AMD GPU Services
80    "AGS"
81]
82check-filename = true