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 "assets/icons/file_icons/file_types.json",
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 crate names are flagged as typos.
20 "crates/indexed_docs/src/providers/rustdoc/popular_crates.txt",
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_server/",
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 # Clojure uses .edn filename extension, which is not a misspelling of "end".
32 "extensions/clojure/languages/clojure/config.toml",
33 # There are some names in the test data that are incorrectly flagged as typos.
34 "crates/git/test_data/blame_incremental_complex",
35 "crates/git/test_data/golden/blame_incremental_complex.json",
36 # We have some base64-encoded data that is incorrectly being flagged.
37 "crates/rpc/src/auth.rs",
38 # glsl isn't recognized by this tool.
39 "extensions/glsl/languages/glsl/",
40 # Windows likes its abbreviations.
41 "crates/gpui/src/platform/windows/",
42 # Some typos in the base mdBook CSS.
43 "docs/theme/css/",
44 # Spellcheck triggers on `|Fixe[sd]|` regex part.
45 "script/danger/dangerfile.ts",
46 # Hashes are not typos
47 "script/patches/use-cross-platform-livekit.patch"
48]
49
50[default]
51extend-ignore-re = [
52 'cl\[ist]',
53 '\[lan\]guage',
54 '"ba"',
55 # :/ crates/collab/migrations/20231009181554_add_release_channel_to_rooms.sql
56 "COLUMN enviroment",
57 "doas",
58 # ProtoLS crate with tree-sitter Protobuf grammar.
59 "protols",
60 # x11rb SelectionNotifyEvent struct field
61 "requestor",
62 # Not an actual typo but an intentionally invalid color, in `color_extractor`
63 "#fof"
64]
65check-filename = true