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 mock data is flagged as typos.
15 "crates/assistant_tools/src/web_search_tool.rs",
16
17 # Suppress false positives in database schema.
18 "crates/collab/migrations/20251208000000_test_schema.sql",
19
20 # Not our typos.
21 "crates/livekit_api/",
22 # Vim makes heavy use of partial typing tables.
23 "crates/vim/",
24 # Editor and file finder rely on partial typing and custom in-string syntax.
25 "crates/file_finder/src/file_finder_tests.rs",
26 "crates/editor/src/editor_tests.rs",
27 "crates/editor/src/edit_prediction_tests.rs",
28 # There are some names in the test data that are incorrectly flagged as typos.
29 "crates/git/test_data/blame_incremental_complex",
30 "crates/git/test_data/golden/blame_incremental_complex.json",
31 # We have some base64-encoded data that is incorrectly being flagged.
32 "crates/rpc/src/auth.rs",
33 # glsl isn't recognized by this tool.
34 "extensions/glsl/languages/glsl/",
35 # Protols is the name of the language server.
36 "extensions/proto/extension.toml",
37 "extensions/proto/src/language_servers/protols.rs",
38 # Windows likes its abbreviations.
39 "crates/gpui_windows/src/directx_renderer.rs",
40 "crates/gpui_windows/src/events.rs",
41 "crates/gpui_windows/src/direct_write.rs",
42 "crates/gpui_windows/src/window.rs",
43 # Some typos in the base mdBook CSS.
44 "docs/theme/css/",
45 # Automatically generated JS.
46 "docs/theme/c15t@*.js",
47 # Spellcheck triggers on `|Fixe[sd]|` regex part.
48 "script/danger/dangerfile.ts",
49 # Eval examples for prompts and criteria
50 "crates/eval/src/examples/",
51 # File type extensions are not typos
52 "crates/zed/resources/windows/zed.iss",
53 # typos-cli doesn't understand our `vˇariable` markup
54 "crates/editor/src/hover_links.rs",
55 # typos-cli doesn't understand `setis` is intentional test case
56 "crates/editor/src/code_completion_tests.rs",
57 # Linux repository structure is not a valid text, hence we should not check it for typos
58 "crates/project_panel/benches/linux_repo_snapshot.txt",
59 # Some multibuffer test cases have word fragments that register as typos
60 "crates/multi_buffer/src/multi_buffer_tests.rs",
61 # Macos apis
62 "crates/gpui_macos/src/dispatcher.rs",
63 # Tests contain partially incomplete words (by design)
64 "crates/edit_prediction_cli/src/split_commit.rs",
65 # Eval examples contain intentionally partial words (e.g. "secur" for "secure")
66 "crates/edit_prediction_cli/evals/",
67 # Tests contain `baˇr` that cause `"ba" should be "by" or "be".`-like false-positives
68 "crates/editor/src/document_symbols.rs",
69]
70
71[default]
72extend-ignore-re = [
73 # PNG is a file format, not a typo
74 "PNG",
75 'cl\[ist]',
76 '\[lan\]guage',
77 '"ba"',
78 "doas",
79 # ProtoLS crate with tree-sitter Protobuf grammar.
80 "protols",
81 # x11rb SelectionNotifyEvent struct field
82 "requestor",
83 # macOS version
84 "Big Sur",
85 # Not an actual typo but an intentionally invalid color, in `color_extractor`
86 "#fof",
87 # Stripped version of reserved keyword `type`
88 "typ",
89 # AMD GPU Services
90 "ags",
91 # AMD GPU Services
92 "AGS"
93]
94check-filename = true