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    # Stripe IDs are flagged as typos.
10    "crates/collab/src/db/tests/processed_stripe_event_tests.rs",
11    # Not our typos
12    "crates/live_kit_server/",
13    # Vim makes heavy use of partial typing tables
14    "crates/vim/",
15    # Editor and file finder rely on partial typing and custom in-string syntax
16    "crates/file_finder/src/file_finder_tests.rs",
17    "crates/editor/src/editor_tests.rs",
18    # Clojure uses .edn filename extension, which is not a misspelling of "end"
19    "extensions/clojure/languages/clojure/config.toml",
20    # There are some names in the test data that are incorrectly flagged as typos.
21    "crates/git/test_data/blame_incremental_complex",
22    "crates/git/test_data/golden/blame_incremental_complex.json",
23    # We have some base64-encoded data that is incorrectly being flagged.
24    "crates/rpc/src/auth.rs",
25    # glsl isn't recognized by this tool
26    "extensions/glsl/languages/glsl/",
27    # Windows likes its abbreviations
28    "crates/gpui/src/platform/windows/",
29    # Some typos in the base mdBook CSS.
30    "docs/theme/css/"
31]
32
33[default]
34extend-ignore-re = [
35    'cl\[ist]',
36    '"ba"',
37    ":ba\\|z",
38    # :/ crates/collab/migrations/20231009181554_add_release_channel_to_rooms.sql
39    "COLUMN enviroment",
40    # Typo in ClickHouse column name.
41    # crates/collab/src/api/events.rs
42    "rename = \"sesssion_id\"",
43    "doas",
44    # ProtoLS crate with tree-sitter Protobuf grammar.
45    "protols"
46]
47check-filename = true