1[files]
2ignore-files = true
3ignore-hidden = false
4extend-exclude = [
5 ".git/",
6
7 # Typewriter model names used for agent branch names aren't typos.
8 "crates/agent_ui/src/branch_names.rs",
9
10 # Contributor names aren't typos.
11 ".mailmap",
12
13 # File suffixes aren't typos.
14 "crates/theme/src/icon_theme.rs",
15 "crates/extensions_ui/src/extension_suggest.rs",
16
17 # Some mock data is flagged as typos.
18 "crates/assistant_tools/src/web_search_tool.rs",
19
20 # Suppress false positives in database schema.
21 "crates/collab/migrations/20251208000000_test_schema.sql",
22
23 # Not our typos.
24 "crates/livekit_api/",
25 # Vim makes heavy use of partial typing tables.
26 "crates/vim/",
27 # Editor and file finder rely on partial typing and custom in-string syntax.
28 "crates/file_finder/src/file_finder_tests.rs",
29 "crates/editor/src/editor_tests.rs",
30 "crates/editor/src/edit_prediction_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 # Protols is the name of the language server.
39 "extensions/proto/extension.toml",
40 "extensions/proto/src/language_servers/protols.rs",
41 # Windows likes its abbreviations.
42 "crates/gpui_windows/src/directx_renderer.rs",
43 "crates/gpui_windows/src/events.rs",
44 "crates/gpui_windows/src/direct_write.rs",
45 "crates/gpui_windows/src/window.rs",
46 # Some typos in the base mdBook CSS.
47 "docs/theme/css/",
48 # Automatically generated JS.
49 "docs/theme/c15t@*.js",
50 # Spellcheck triggers on `|Fixe[sd]|` regex part.
51 "script/danger/dangerfile.ts",
52 # File type extensions are not typos
53 "crates/zed/resources/windows/zed.iss",
54 # typos-cli doesn't understand our `vˇariable` markup
55 "crates/editor/src/hover_links.rs",
56 # typos-cli doesn't understand `setis` is intentional test case
57 "crates/editor/src/code_completion_tests.rs",
58 # Linux repository structure is not a valid text, hence we should not check it for typos
59 "crates/project_panel/benches/linux_repo_snapshot.txt",
60 # Some multibuffer test cases have word fragments that register as typos
61 "crates/multi_buffer/src/multi_buffer_tests.rs",
62 # Macos apis
63 "crates/gpui_macos/src/dispatcher.rs",
64 # Tests contain partially incomplete words (by design)
65 "crates/edit_prediction_cli/src/split_commit.rs",
66 "crates/edit_prediction_metrics/src/kept_rate.rs",
67 # Eval examples contain intentionally partial words (e.g. "secur" for "secure")
68 "crates/edit_prediction_cli/evals/",
69 # Tests contain `baˇr` that cause `"ba" should be "by" or "be".`-like false-positives
70 "crates/editor/src/document_symbols.rs",
71]
72
73[default]
74extend-ignore-re = [
75 # PNG is a file format, not a typo
76 "PNG",
77 'cl\[ist]',
78 '\[lan\]guage',
79 '"ba"',
80 "doas",
81 # ProtoLS crate with tree-sitter Protobuf grammar.
82 "protols",
83 # x11rb SelectionNotifyEvent struct field
84 "requestor",
85 # macOS version
86 "Big Sur",
87 # Not an actual typo but an intentionally invalid color, in `color_extractor`
88 "#fof",
89 # Stripped version of reserved keyword `type`
90 "typ",
91 # AMD GPU Services
92 "ags",
93 # AMD GPU Services
94 "AGS",
95 # "noet" is a vim variable (ideally to ignore locally)
96 "noet",
97 # Yarn Plug'n'Play
98 "PnP",
99 # `image` crate method: Delay::from_numer_denom_ms
100 "numer"
101]
102check-filename = true