typos.toml

 1[files]
 2ignore-files = true
 3ignore-hidden = false
 4extend-exclude = [
 5    ".git/",
 6    # File suffixes aren't typos
 7    "assets/icons/file_icons/file_types.json",
 8    "crates/extensions_ui/src/extension_suggest.rs",
 9
10    # Some countries codes are flagged as typos.
11    "crates/anthropic/src/supported_countries.rs",
12    "crates/google_ai/src/supported_countries.rs",
13    "crates/open_ai/src/supported_countries.rs",
14
15    # Some crate names are flagged as typos.
16    "crates/indexed_docs/src/providers/rustdoc/popular_crates.txt",
17
18    # Stripe IDs are flagged as typos.
19    "crates/collab/src/db/tests/processed_stripe_event_tests.rs",
20    # Not our typos
21    "crates/live_kit_server/",
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    # Clojure uses .edn filename extension, which is not a misspelling of "end"
28    "extensions/clojure/languages/clojure/config.toml",
29    # There are some names in the test data that are incorrectly flagged as typos.
30    "crates/git/test_data/blame_incremental_complex",
31    "crates/git/test_data/golden/blame_incremental_complex.json",
32    # We have some base64-encoded data that is incorrectly being flagged.
33    "crates/rpc/src/auth.rs",
34    # glsl isn't recognized by this tool
35    "extensions/glsl/languages/glsl/",
36    # Windows likes its abbreviations
37    "crates/gpui/src/platform/windows/",
38    # Some typos in the base mdBook CSS.
39    "docs/theme/css/"
40]
41
42[default]
43extend-ignore-re = [
44    'cl\[ist]',
45    '"ba"',
46    ":ba\\|z",
47    # :/ crates/collab/migrations/20231009181554_add_release_channel_to_rooms.sql
48    "COLUMN enviroment",
49    # Typo in ClickHouse column name.
50    # crates/collab/src/api/events.rs
51    "rename = \"sesssion_id\"",
52    "doas",
53    # ProtoLS crate with tree-sitter Protobuf grammar.
54    "protols"
55]
56check-filename = true